joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408713
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
call 0x408713
add byte [edx], bh
inc ecx
dec eax
xor dl, byte [eax + 0x50]
add esp, 4
jmp 0x40871b
and ebx, 0xe6d1
or ebx, 0x7989
pop ebx

Function at 0x408718
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
dec ebx
inc eax
xor eax, 0xe6d1e381
add byte [eax], al

Function at 0x4087c0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push esi
add esp, 4
and ebx, 0xf5db
or ebx, 0x908
sub ebx, 0x50ed
pop ebx
mov ecx, dword [ebp - 0x3cc]
add ecx, 0xe
invalid
invalid
invalid
invalid

Function at 0x408b74
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop esi
push ecx
and ecx, 0x16b62
pop ecx
push ecx
sub ecx, 0x63f8
add ecx, 0x1663f
xor ecx, 0x12468
pop ecx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x408bb1
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1514], ecx
jmp 0x408c0b
movzx eax, word [ebp - 0x204]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x408ad9
movzx edx, word [ebp - 0x204]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x408ad9
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x408bf5
mov dword [ebp - 0x1510], 0xffffffff
jmp 0x408bff
mov dword [ebp - 0x1510], 1
mov eax, dword [ebp - 0x1510]
mov dword [ebp - 0x1514], eax
cmp dword [ebp - 0x1514], 0
jne 0x408c54
push ebx
call 0x408c24
add byte [edi], dh
cmp ecx, dword [edi + 0x3c]
inc edx
dec ecx
inc esi
aas
dec ecx
add esp, 4
pop ebx
push edx
push edx
add esp, 4
sub edx, 0x464a
xor edx, 0x12961
jmp 0x408c3f
or edx, 0xf3f0
pop edx
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x2a8], ecx
jmp 0x408cbc
push ecx
and ecx, 0x9a7a
add ecx, 0x122db
add ecx, 0x1799e
and ecx, 0x11816
pop ecx
push edx
push esi
add esp, 4
sub edx, 0x13412
xor edx, 0xa6f9
xor edx, 0x16e45
pop edx
mov edx, dword [ebp - 0x4e4]
mov eax, dword [edx]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
cmp ecx, dword [ebp - 0xc4c]
je 0x408cb2
mov edx, dword [ebp - 0x4e4]
cmp dword [edx + 0x30], 0
jne 0x408a7d
mov dword [ebp - 0x2a8], 0
Function at 0x408c24
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop esi
push ecx
and ecx, 0x16b62
pop ecx
push ecx
sub ecx, 0x63f8
add ecx, 0x1663f
xor ecx, 0x12468
pop ecx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x408bb1
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x1514], ecx
jmp 0x408c0b
movzx eax, word [ebp - 0x204]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x408ad9
movzx edx, word [ebp - 0x204]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x408ad9
movzx ecx, word [ebp - 0x204]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x408bf5
mov dword [ebp - 0x1510], 0xffffffff
jmp 0x408bff
mov dword [ebp - 0x1510], 1
mov eax, dword [ebp - 0x1510]
mov dword [ebp - 0x1514], eax
cmp dword [ebp - 0x1514], 0
jne 0x408c54
push ebx
call 0x408c24
add byte [edi], dh
cmp ecx, dword [edi + 0x3c]
inc edx
dec ecx
inc esi
aas
dec ecx
add esp, 4
pop ebx
push edx
push edx
add esp, 4
sub edx, 0x464a
xor edx, 0x12961
jmp 0x408c3f
or edx, 0xf3f0
pop edx
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x2a8], ecx
jmp 0x408cbc
push ecx
and ecx, 0x9a7a
add ecx, 0x122db
add ecx, 0x1799e
and ecx, 0x11816
pop ecx
push edx
push esi
add esp, 4
sub edx, 0x13412
xor edx, 0xa6f9
xor edx, 0x16e45
pop edx
mov edx, dword [ebp - 0x4e4]
mov eax, dword [edx]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
cmp ecx, dword [ebp - 0xc4c]
je 0x408cb2
mov edx, dword [ebp - 0x4e4]
cmp dword [edx + 0x30], 0
jne 0x408a7d
mov dword [ebp - 0x2a8], 0

Function at 0x408da4
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
das
add byte [eax], al
and edi, 0xa75f
pop edi
push eax
push edx
add esp, 4
add eax, 0x10bbb
sub eax, 0xf8bf
xor eax, 0xbeb1
pop eax
mov byte [ebp - 0x830], 0x4c
mov byte [ebp - 0x82f], 0x6f
mov byte [ebp - 0x82e], 0x61
invalid
jmp dword [ecx - 0x3a]
test ebx, edx
idiv edi
jmp dword [esi + eax*8 - 0x7b]
aam 0xf7
invalid
dec dword [esi + eax*8 - 0x7b]
aad 0xf7
invalid
jmp [ecx - 0x3a]
test esi, edx
idiv edi
jmp dword [edx - 0x3a]
test edi, edx
idiv edi
push dword [edx - 0x3a]
test eax, ebx
idiv edi
jmp dword [ecx - 0x3a]
test ecx, ebx
idiv edi
push dword [edx - 0x3a]
test edx, ebx
idiv edi
invalid
jns 0x408dda
test ebx, ebx
idiv edi
call dword [edi - 0x3a]
test esp, ebx
idiv edi
inc dword [eax]
mov ecx, dword fs:[0x18]
Function at 0x408e6a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x18d8], ecx
mov edx, dword [ebp - 0x18d8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18dc], eax
mov ecx, dword [ebp - 0x18dc]
mov dword [ebp - 0x1518], ecx
push edi
push eax
add esp, 4
and edi, 0x3670
pop edi
push edi
xor edi, 0x17bb3
call 0x408e6a
add byte [ebp + 0x49], cl
dec eax
inc edx
inc ebp
push eax
dec edx
dec edx
add esp, 4
and edi, 0xd0f3
jmp 0x408e7a
pop edi
cmp dword [ebp - 0x1518], 0
jne 0x408e93
mov dword [ebp - 0x710], 0
jmp 0x40913a
mov edx, dword [ebp - 0x1518]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc58], ecx
push edi
push ebx
add esp, 4
sub edi, 0x1577c
pop edi
push edx
push edi
add esp, 4
jmp 0x408ebd
pop edx
push edi
call 0x408ecd
add byte [ecx + 0x32], al
inc ebx
inc eax
cmp cl, byte [edi + 0x3f]
inc edi
add esp, 4
add edi, 0x150e4
pop edi
cmp dword [ebp - 0xc58], 0
jne 0x408eef
mov dword [ebp - 0x710], 0
jmp 0x40913a
mov edx, dword [ebp - 0xc58]
mov dword [ebp - 0x4e8], edx
push esi
sub esi, 0x575e
pop esi
push edx
push esi
add esp, 4
or edx, 0x10168
or edx, 0x17302
pop edx
push edi
push ebx
add esp, 4
add edi, 0x7449
pop edi
push ecx
push edx
add esp, 4
sub ecx, 0x11e20
pop ecx
lea eax, [ebp - 0x16e8]
mov dword [ebp - 0xc54], eax
mov ecx, dword [ebp - 0x4e8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc50], edx
xor eax, eax
mov word [ebp - 0x208], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push eax
push ebx
add esp, 4
xor eax, 0xeead
or eax, 0x178a
xor eax, 0x13cdc
sub eax, 0x1ed9
pop eax
push edx
and edx, 0xd7c9
pop edx
push esi
push ebx
add esp, 4
xor esi, 0xee2f
pop esi
mov edx, dword [ebp - 0xc50]
mov ax, word [edx]
mov word [ebp - 0xf8e], ax
mov ecx, dword [ebp - 0xc50]
add ecx, 2
mov dword [ebp - 0xc50], ecx
mov dx, word [ebp - 0xf8e]
mov word [ebp - 0x208], dx
mov eax, dword [ebp - 0xc54]
mov cx, word [eax]
mov word [ebp - 0xf90], cx
mov edx, dword [ebp - 0xc54]
add edx, 2
mov dword [ebp - 0xc54], edx
mov ax, word [ebp - 0xf90]
mov word [ebp - 0x3c], ax
push edi
push ebx
add esp, 4
or edi, 0xb9f
jmp 0x408ff3
xor edi, 0xa21
pop edi
push ebx
push ecx
add esp, 4
add ebx, 0x616a
add ebx, 0xcbb8
or ebx, 0x11b5b
pop ebx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x40902f
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1560], edx
jmp 0x409089
movzx ecx, word [ebp - 0x208]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x408f57
movzx eax, word [ebp - 0x208]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x408f57
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x409073
mov dword [ebp - 0x151c], 0xffffffff
jmp 0x40907d
mov dword [ebp - 0x151c], 1
mov ecx, dword [ebp - 0x151c]
mov dword [ebp - 0x1560], ecx
invalid
invalid
invalid
Function at 0x408ecd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x18d8], ecx
mov edx, dword [ebp - 0x18d8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18dc], eax
mov ecx, dword [ebp - 0x18dc]
mov dword [ebp - 0x1518], ecx
push edi
push eax
add esp, 4
and edi, 0x3670
pop edi
push edi
xor edi, 0x17bb3
call 0x408e6a
add byte [ebp + 0x49], cl
dec eax
inc edx
inc ebp
push eax
dec edx
dec edx
add esp, 4
and edi, 0xd0f3
jmp 0x408e7a
pop edi
cmp dword [ebp - 0x1518], 0
jne 0x408e93
mov dword [ebp - 0x710], 0
jmp 0x40913a
mov edx, dword [ebp - 0x1518]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc58], ecx
push edi
push ebx
add esp, 4
sub edi, 0x1577c
pop edi
push edx
push edi
add esp, 4
jmp 0x408ebd
pop edx
push edi
call 0x408ecd
add byte [ecx + 0x32], al
inc ebx
inc eax
cmp cl, byte [edi + 0x3f]
inc edi
add esp, 4
add edi, 0x150e4
pop edi
cmp dword [ebp - 0xc58], 0
jne 0x408eef
mov dword [ebp - 0x710], 0
jmp 0x40913a
mov edx, dword [ebp - 0xc58]
mov dword [ebp - 0x4e8], edx
push esi
sub esi, 0x575e
pop esi
push edx
push esi
add esp, 4
or edx, 0x10168
or edx, 0x17302
pop edx
push edi
push ebx
add esp, 4
add edi, 0x7449
pop edi
push ecx
push edx
add esp, 4
sub ecx, 0x11e20
pop ecx
lea eax, [ebp - 0x16e8]
mov dword [ebp - 0xc54], eax
mov ecx, dword [ebp - 0x4e8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc50], edx
xor eax, eax
mov word [ebp - 0x208], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push eax
push ebx
add esp, 4
xor eax, 0xeead
or eax, 0x178a
xor eax, 0x13cdc
sub eax, 0x1ed9
pop eax
push edx
and edx, 0xd7c9
pop edx
push esi
push ebx
add esp, 4
xor esi, 0xee2f
pop esi
mov edx, dword [ebp - 0xc50]
mov ax, word [edx]
mov word [ebp - 0xf8e], ax
mov ecx, dword [ebp - 0xc50]
add ecx, 2
mov dword [ebp - 0xc50], ecx
mov dx, word [ebp - 0xf8e]
mov word [ebp - 0x208], dx
mov eax, dword [ebp - 0xc54]
mov cx, word [eax]
mov word [ebp - 0xf90], cx
mov edx, dword [ebp - 0xc54]
add edx, 2
mov dword [ebp - 0xc54], edx
mov ax, word [ebp - 0xf90]
mov word [ebp - 0x3c], ax
push edi
push ebx
add esp, 4
or edi, 0xb9f
jmp 0x408ff3
xor edi, 0xa21
pop edi
push ebx
push ecx
add esp, 4
add ebx, 0x616a
add ebx, 0xcbb8
or ebx, 0x11b5b
pop ebx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x40902f
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1560], edx
jmp 0x409089
movzx ecx, word [ebp - 0x208]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x408f57
movzx eax, word [ebp - 0x208]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x408f57
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x409073
mov dword [ebp - 0x151c], 0xffffffff
jmp 0x40907d
mov dword [ebp - 0x151c], 1
mov ecx, dword [ebp - 0x151c]
mov dword [ebp - 0x1560], ecx
invalid
invalid
invalid
Function at 0x41caa8
Capabilities:
Authenticate hmac

Disassembly:
cdq
insb byte es:[edi], dx
add byte [ebx], al
add eax, dword [edi + 0x3006cc1]
add eax, dword [ebx + edx]
mov dl, dl
add al, 4
add al, 0x56
test esi, esp
jp 0x41caea
add al, 4
test esi, ebp
int1
or eax, 0xc6850404
je 0x41caca
inc dword [esp + eax]
add al, 4
pop esi
pop ebx
push ebp
xchg eax, ecx
or byte [ebp + 0x52017eb], al
add al, 0xef
or byte [edx + 0x3e], al
inc ebp
dec esi
arpl word [ebx + ebx*2 - 0x79], dx
enter 0xffffffffffff8508, 0xffffffffffffffe4
stosd dword es:[edi], eax
pop dword [esp + eax]
pop esp
add al, 0x5c
invalid

Function at 0x423660
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004074d8
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a824
mov edi, eax
cmp edi, 0x104
jbe 0x42360b
mov eax, edi
add eax, eax
call fcn.00404398
mov esi, eax
jmp 0x42360d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a824
push esi
call fcn.0040c538
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x423646
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x423630
mov eax, esp
cmp esi, eax
je 0x423653
mov eax, esi
call fcn.004043b4
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42368c
cmp bl, 0
je 0x423688
cmp bl, 0x41
jl 0x423683
cmp bl, 0x5a
jg 0x423683
or bl, 0x20
xor al, bl
inc esi
jmp 0x423667
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4235cc

Function at 0x4569f4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4569fa
ret
Function at 0x4b22fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x52f1c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4b2366
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.004b1b4a
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.004b3a65
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x4b237e
lea ecx, [esp + 0x14]
add edi, 4
call fcn.004b2e72
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x4b232e
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b6114
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.004b2e72
jmp 0x4b2368

Function at 0x4b3ee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ecx
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x5300f0], eax
push 0x27
push 0x52ec18
push 0x547
mov esi, 0x52ec40
push esi
call fcn.004b239c
push 0x8aafdc01
push dword [0x5300f0]
call fcn.004b22fd
add esp, 0x18
lea ecx, [esp + 8]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
test eax, eax
je 0x4b3f40
call fcn.004b3de5
xor eax, eax
pop ecx
ret 0x10
Function at 0x4b5917
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4b5938
jl 0x4b592f
test edi, edi
jne 0x4b5938
xor eax, eax
xor edx, edx
jmp 0x4b59f9
cmp dword [ebx + 0x38], 0
je 0x4b594d
push eax
push edi
push dword [ebp + 8]
call fcn.004b59ff
jmp 0x4b59f9
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4b5994
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4b5994
cmp eax, edi
jb 0x4b596e
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.004b7060
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4b599a
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4b59ee
mov ecx, ebx
call fcn.004b5166
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4b59d9
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.004bed86
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4b59ee
jmp 0x4b59ac
test edx, edx
je 0x4b59ee
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.004bed86
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x4b6ea6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b6ee5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b6ee5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b6ee5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4b6ee5
cmp dword [ecx + 0x74], 0xe
jbe 0x4b6ee5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4c4ca7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4d61f0
push 0x4d61e8
push str.FlsAlloc
push 0x1e
call fcn.004c4b71
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4c4cdb
push dword [ebp + 8]
mov ecx, esi
call dword [0x4d212c]
call esi
jmp 0x4c4ce1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4c4d25
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4d6200
push 0x4d61f8
push str.FlsGetValue
push 0x20
call fcn.004c4b71
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4c4d5c
push dword [ebp + 8]
mov ecx, esi
call dword [0x4d212c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4c8050
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c7ec1

Function at 0x4c844a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004b7010
mov eax, dword [0x52f1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004c61cb
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4c848c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4c85e8
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004d18d0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x530b90]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004c9441
mov ecx, dword [esi*4 + 0x530b90]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4c85e1
cmp eax, dword [edi + ecx + 0x24]
jne 0x4c85e1
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4c85e1
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c9441
add esp, 0x14
test edx, edx
jl 0x4c85e1
jg 0x4c8557
test eax, eax
jb 0x4c85e1
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4c85e1
jl 0x4c8571
cmp dword [ebp - 0x1008], eax
ja 0x4c85e1
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4c858f
test ebx, ebx
je 0x4c85c8
cmp ecx, edi
jae 0x4c85c8
mov al, byte [ecx]
cmp al, 0xd
jne 0x4c85a9
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4c85b5
cmp byte [ecx + 1], 0xa
jne 0x4c85b5
inc ecx
jmp 0x4c85b5
movzx eax, al
movsx eax, byte [eax + 0x52f498]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4c858f
cmp edx, ebx
jne 0x4c858f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4c85e6
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004b6114
leave
ret
Function at 0x4c88df
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x530b90]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4c891f
cmp byte [ebx], 0xa
jne 0x4c891f
or byte [eax + edi + 0x28], 4
jmp 0x4c8924
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4c8a22
mov al, byte [edx]
cmp al, 0x1a
je 0x4c8a04
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4c8953
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4c8978
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4c8982
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4c8935
jmp 0x4c8a22
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4c89ff
cmp dword [ebp - 0xc], 0
je 0x4c89ff
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x530b90]
test byte [eax + edi + 0x28], 0x48
je 0x4c89d9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4c89c4
mov byte [esi], dl
jmp 0x4c89d5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x530b90]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4c8a22
cmp byte [ebp - 1], 0xa
jne 0x4c89e8
cmp esi, ebx
jne 0x4c89e8
mov byte [esi], 0xa
jmp 0x4c8a21
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004c945f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4c8a22
mov byte [esi], 0xd
jmp 0x4c8a21
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x530b90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4c8a1e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4c8a22
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4c8a2b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x530b90]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4c8a6e
cmp word [esi], dx
jne 0x4c8a6e
or byte [edi + eax + 0x28], 4
jmp 0x4c8a73
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4c8bc6
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4c8ba6
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4c8ab5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4c8aeb
cmp eax, edx
jae 0x4c8af7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4c8a8d
jmp 0x4c8bc6
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4c8ba2
cmp dword [ebp - 0x14], 0
je 0x4c8ba2
mov eax, dword [ebx*4 + 0x530b90]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4c8b7a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4c8b43
mov word [esi], cx
jmp 0x4c8b76
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x530b90]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x530b90]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x530b90]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4c8bc6
pop ebx
cmp word [ebp - 4], bx
jne 0x4c8b8b
cmp esi, dword [ebp + 0xc]
jne 0x4c8b8b
mov word [esi], bx
jmp 0x4c8bc3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004c945f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4c8bc6
push 0xd
jmp 0x4c8bbf
mov ecx, dword [ebx*4 + 0x530b90]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4c8bbd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4c8bc6
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret