joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49bcbf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x670abc
call fcn.006313fc
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
xor ebp, ebp
push edi
mov edi, ecx
cmp dword [esi], ebp
jne 0x49bd40
push 0x80
call fcn.00630af1
pop ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x78], ebp
test eax, eax
je 0x49bd02
mov ecx, eax
call fcn.00499834
jmp 0x49bd04
mov eax, ebp
or dword [esp + 0x78], 0xffffffff
mov ecx, esi
push eax
call fcn.0049a91f
mov eax, dword [esi]
lea ecx, [edi + 0x1cc]
push esi
mov dword [eax + 0x1c], 0xb4
mov eax, dword [esi]
mov dword [eax + 0x20], 0x1e
mov eax, dword [esi]
mov byte [eax + 0x60], 3
mov eax, dword [esi]
mov dword [eax + 0x44], edi
mov eax, dword [esi]
and byte [eax + 0x62], 0xfb
call fcn.004b7655
lea eax, [esp + 0x58]
push eax
call fcn.004793d0
push eax
push dword [esp + 0x88]
lea eax, [esp + 0x48]
mov dword [esp + 0x80], 1
push eax
call fcn.00423d4c
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x7c], 2
push eax
call fcn.0051bcc1
push ebp
push 1
lea ecx, [esp + 0x48]
call fcn.0042341c
push ebp
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x80], 5
call fcn.0042341c
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
call fcn.0041fe38
mov ecx, dword [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.0041fe4c
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x24]
je 0x49be50
mov ebx, dword [esp + 0x10]
push 0x2a
pop edx
mov eax, ebp
test ebx, ebx
je 0x49bdcc
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x14], 8
jb 0x49bde2
mov ecx, dword [eax]
jmp 0x49bde4
mov ecx, eax
cmp word [ecx], dx
jne 0x49bdf6
cmp dword [eax + 0x14], 8
jb 0x49bdf1
mov eax, dword [eax]
add eax, 2
jmp 0x49bdfe
cmp dword [eax + 0x14], 8
jb 0x49bdfe
mov eax, dword [eax]
cmp dword [esp + 0x3c], 8
mov ecx, dword [esp + 0x28]
mov edx, ecx
jae 0x49be0f
lea edx, [esp + 0x28]
push 0x2a
pop ebp
cmp word [edx], bp
push 0
pop ebp
jne 0x49be2a
cmp dword [esp + 0x3c], 8
jae 0x49be25
lea ecx, [esp + 0x28]
add ecx, 2
jmp 0x49be35
cmp dword [esp + 0x3c], 8
jae 0x49be35
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0063299b
pop ecx
pop ecx
test eax, eax
je 0x49be73
inc edi
push 0x2a
pop edx
cmp edi, dword [esp + 0x24]
jne 0x49bdc4
mov ecx, dword [esi]
lea eax, [esp + 0x28]
push eax
call fcn.0046a161
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x49be6b
lea eax, [esp + 0x28]
mov ecx, dword [esi]
push eax
call fcn.0049ca46
push ebp
push 1
lea ecx, [esp + 0x30]
call fcn.0042341c
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x49eda5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x670c00
call fcn.006313fc
sub esp, 0x4c
push ebp
push esi
push edi
lea eax, [esp + 0x40]
mov edi, ecx
push eax
call fcn.0048c2d8
mov esi, eax
xor ebp, ebp
cmp dword [esi + 0x14], 8
mov dword [esp + 0x60], ebp
jb 0x49edd1
mov esi, dword [esi]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
push eax
push esi
lea eax, [esp + 0x18]
push 0x69e734
push eax
call fcn.0047224d
add esp, 0x10
push ebp
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 2
call fcn.0042341c
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x49ee0c
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push str._s.old
push eax
call fcn.0047224d
add esp, 0xc
mov eax, dword [esp + 0x6c]
shr eax, 2
and al, 1
mov byte [esp + 0x60], 3
cmp dword [esp + 0x24], 8
mov byte [esp + 0xc], al
mov eax, dword [esp + 0x10]
jae 0x49ee40
lea eax, [esp + 0x10]
push dword [esp + 0xc]
push eax
call fcn.004fd2dc
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x49ee59
lea eax, [esp + 0x28]
push dword [esp + 0xc]
push eax
call fcn.004fd2dc
push dword [esp + 0x6c]
push edi
call fcn.004a57a9
push ebp
push 1
lea ecx, [esp + 0x30]
call fcn.0042341c
push ebp
push 1
lea ecx, [esp + 0x18]
call fcn.0042341c
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4b2a26
Capabilities:
Copy file
Delete file
Move file

Disassembly:
sub esp, 0x28
push esi
push 0x80
push 5
push dword [esp + 0x38]
mov esi, ecx
call fcn.0045eeaa
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x4b2a4c
xor al, al
jmp 0x4b2b75
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.0045ee70
test eax, eax
je 0x4b2a67
lea eax, [esp + 8]
push eax
call fcn.0045ee3a
jmp 0x4b2a45
push ebp
push edi
push dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x18]
call fcn.004b20a0
mov eax, dword [esi + 0x228]
xor ebp, ebp
sub eax, dword [esi + 0x224]
mov edi, ebp
sar eax, 3
test eax, eax
je 0x4b2aab
push edi
mov ecx, esi
call fcn.004af276
mov eax, dword [esi + 0x228]
inc edi
sub eax, dword [esi + 0x224]
sar eax, 3
cmp edi, eax
jb 0x4b2a8f
mov ecx, dword [esi + 0x6a0]
mov eax, dword [esi + 0x6a4]
add ecx, 0x3fff
adc eax, ebp
shrd ecx, eax, 0xe
shr eax, 0xe
lea eax, [esp + 0x10]
mov dword [esi + 0xf0], ecx
push eax
call fcn.0045ee3a
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004a36b1
cmp dword [eax + 0x14], 8
jb 0x4b2aea
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push ebp
push 1
lea ecx, [esp + 0x28]
call fcn.0042341c
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.004a36b1
cmp byte [esp + 0x40], 0
je 0x4b2b26
cmp dword [eax + 0x14], 8
jb 0x4b2b19
mov eax, dword [eax]
push eax
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x4b2b3b
cmp dword [eax + 0x14], 8
jb 0x4b2b2e
mov eax, dword [eax]
push 1
push eax
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov ebx, eax
lea ecx, [esp + 0x20]
push ebp
neg ebx
push 1
sbb bl, bl
call fcn.0042341c
inc bl
je 0x4b2b55
xor al, al
jmp 0x4b2b72
mov ecx, esi
mov byte [esp + 0x13], 1
call fcn.004a233b
lea ecx, [esp + 0x13]
push dword [eax + 0x20]
push ecx
mov ecx, eax
call fcn.004fd9f0
mov al, 1
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x28
ret 8

Function at 0x4b51f6
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
mov ebp, SysReAllocString
lea edi, [esi + 0x9c4]
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, ebp
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
dec ebx
jne 0x4b520c
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov ecx, dword [edi]
xor ecx, dword [edi + 4]
and ecx, ebp
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
dec ebx
jne 0x4b5246
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, ebp
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], ebx
pop esi
pop ebp
pop ebx
ret
Function at 0x4b52ad
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
dec esi
jne 0x4b52b6
pop esi
ret

Function at 0x4b7a41
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [esp + 0x14]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x4b7a56
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
ret 8

Function at 0x4b8712
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [0x7637b6], 0
je 0x4b87b8
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push 0x69efdc
push eax
call fcn.0047224d
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4b8741
mov eax, dword [eax]
push esi
push eax
call fcn.00639cf3
pop ecx
xor esi, esi
lea ecx, [ebp - 0x30]
push esi
push 1
call fcn.0042341c
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push str.TEMP_s
push eax
call fcn.0047224d
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4b8772
mov eax, dword [eax]
push eax
call fcn.00639cf3
pop ecx
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.0042341c
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x69effc
push eax
call fcn.0047224d
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ebp - 4], 8
jae 0x4b87a4
lea eax, [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push esi
push 1
lea ecx, [ebp - 0x18]
call fcn.0042341c
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4bb382
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x671d64
call fcn.006313fc
sub esp, 0x84
push esi
cmp dword [0x765fb8], 0x7d0
mov esi, 0x765fa8
mov dword [ebp - 4], 2
jb 0x4bb3ef
push 0x64
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041fe38
mov ecx, eax
call fcn.00420557
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0041f689
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0041fe38
sub esp, 0xc
mov ecx, esp
push eax
call fcn.0041f689
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.004c0187
lea ecx, [ebp - 0x90]
call fcn.004b9ed1
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004c04a6
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.004ba17e
mov ecx, esi
call fcn.004d3981
mov esi, eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0044dbe6
lea eax, [ebp + 0x20]
push eax
lea ecx, [esi + 0x18]
call fcn.00409822
lea eax, [ebp + 0x38]
push eax
lea ecx, [esi + 0x30]
call fcn.0044dbe6
mov eax, dword [ebp + 0x50]
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x54]
mov dword [esi + 0x4c], eax
xor esi, esi
push esi
push 0x114
call fcn.00489603
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0042341c
push esi
push 1
lea ecx, [ebp + 0x20]
call fcn.0040a0e9
push esi
push 1
lea ecx, [ebp + 0x38]
call fcn.0042341c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x50
Function at 0x4bf691
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x67efe8
call fcn.006313fc
push ecx
push ecx
cmp dword [esp + 0x20], 0
je 0x4bf729
push esi
lea ecx, [esp + 4]
call fcn.004b9bd4
push dword [esp + 0x20]
and dword [esp + 0x18], 0
call fcn.004bca2c
mov esi, eax
test esi, esi
je 0x4bf71a
push ebx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x4bf719
push ebp
push edi
push ebx
lea ecx, [esi + 0x2c]
call fcn.004f47a5
mov edi, eax
cmp byte [edi + 0x79], 0
je 0x4bf6fc
lea eax, [edi + 0x30]
cmp dword [eax + 0x14], 0x10
jb 0x4bf6ec
mov eax, dword [eax]
push dword [esp + 0x30]
push eax
call fcn.00638078
pop ecx
pop ecx
test eax, eax
je 0x4bf704
inc ebx
cmp ebx, dword [esi + 0x3c]
jne 0x4bf6d0
jmp 0x4bf717
or byte [edi + 0x78], 2
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
mov byte [edi + 0x79], 0
call fcn.004aa570
pop edi
pop ebp
pop ebx
or dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 4]
call fcn.00488604
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4c28e0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea ecx, [esp + 4]
mov dword [0x765ff0], eax
push ecx
push esi
push eax
push 0x4c2450
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ecx
ret

Function at 0x4c2acc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x67240d
call fcn.006313fc
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], 0x69fd00
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
mov dword [esi], 0x69fd20
mov dword [esi + 8], 0x69fd3c
mov dword [esi + 0xc], ebx
call fcn.004c61dc
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esi + 0x54], bl
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], 0xf
mov byte [esi + 0x58], bl
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4c75a1
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x67288d
call fcn.006313fc
sub esp, 0x28
push ebx
push ebp
push edi
xor edx, edx
mov byte [esp + 0x18], 1
mov dword [esp + 0x3c], edx
mov ebp, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x48]
mov bl, dl
push 0x10
pop edi
mov byte [esp + 0x3c], 1
cmp dword [esp + 0x5c], edi
jae 0x4c75ee
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x18]
push ecx
push edx
push edx
push edi
push eax
call sub.DNSAPI.dll_DnsQuery_UTF8
test eax, eax
jne 0x4c7675
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4c7667
cmp word [esi + 8], di
jne 0x4c7661
xor edi, edi
test bl, bl
jne 0x4c765e
lea eax, [esi + 0x1c]
mov dword [esp + 0x14], eax
cmp edi, dword [esi + 0x18]
jae 0x4c765e
mov edx, dword [eax]
push edx
push str.DEBUG:_Processing_TXT:__s_n
call fcn.00409edb
mov ecx, edx
add esp, 8
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c7637
lea eax, [esp + 0x1c]
sub ecx, ebx
push eax
push ecx
push edx
call fcn.004d1c56
mov bl, al
inc edi
mov eax, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x14], eax
test bl, bl
je 0x4c761d
push 0x10
pop edi
mov esi, dword [esi]
test bl, bl
je 0x4c7606
push 1
push dword [esp + 0x1c]
call sub.DNSAPI.dll_DnsFree
pop esi
jmp 0x4c767e
cmp eax, 0x251d
je 0x4c76aa
mov ebp, eax
test bl, bl
je 0x4c76aa
mov byte [esp + 0xf], 1
call fcn.00475044
lea eax, [esp + 0x18]
mov byte [esp + 0x3c], 2
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004d3320
mov byte [esp + 0x3c], 1
call fcn.00475085
lea ecx, [esp + 0x28]
call fcn.0041abd3
lea ecx, [esp + 0x1c]
call fcn.0041abd3
push 0
push 1
lea ecx, [esp + 0x50]
call fcn.0040a0e9
mov ecx, dword [esp + 0x34]
mov eax, ebp
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x4c83a4
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov eax, 0x67292d
call fcn.006313fc
sub esp, 0x160
push ebx
push ebp
push esi
push edi
lea ebp, [ecx + 4]
mov dword [ecx], 0x6a1dec
push 0xf
xor ebx, ebx
mov dword [esp + 0x14], ecx
pop edx
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov byte [ebp], bl
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x2c], ebx
mov dword [esp + 0x178], ebx
mov byte [ecx + 0x1c], bl
lea ebx, [ecx + 0x34]
xor eax, eax
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x10], eax
mov byte [ebx], al
lea esi, [ecx + 0x4c]
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov byte [esi], al
lea eax, [esp + 0x54]
mov byte [esp + 0x178], 3
push eax
mov dword [esp + 0x58], 0x11c
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x4c850c
push dword [esp + 0x60]
lea eax, [esp + 0x1c]
push dword [esp + 0x60]
push dword [esp + 0x60]
push str._d._d._d
push eax
call fcn.00472228
add esp, 0x14
movzx eax, byte [esp + 0x16e]
mov edi, str.unknown
mov byte [esp + 0x178], 4
dec eax
je 0x4c8470
dec eax
je 0x4c8469
dec eax
je 0x4c8462
mov ebp, edi
jmp 0x4c8475
mov ebp, str.server
jmp 0x4c8475
mov ebp, str.domaincontroller
jmp 0x4c8475
mov ebp, str.workstation
push str.Windows
call fcn.00409db4
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push str.Windows
call fcn.00409b2f
push ebp
call fcn.00409db4
pop ecx
mov ecx, dword [esp + 0x10]
push eax
push ebp
lea ecx, [ecx + 0x1c]
call fcn.00409b2f
lea eax, [esp + 0x18]
cmp ebx, eax
je 0x4c84b8
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.0040a034
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
movzx eax, word [esp + 0x30]
test eax, eax
je 0x4c84e4
cmp eax, 6
je 0x4c84dd
cmp eax, 9
jne 0x4c84e9
mov edi, str.amd64
jmp 0x4c84e9
mov edi, str.itanium
jmp 0x4c84e9
mov edi, 0x6a1e34
push edi
call fcn.00409db4
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00409b2f
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0040a0e9
mov ebp, dword [esp + 0x14]
jmp 0x4c855c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, str.unknown
push edi
call fcn.00409db4
pop ecx
push eax
push edi
mov ecx, ebp
call fcn.00409b2f
push edi
call fcn.00409db4
pop ecx
mov ecx, dword [esp + 0x10]
push eax
push edi
lea ecx, [ecx + 0x1c]
call fcn.00409b2f
push edi
call fcn.00409db4
pop ecx
push eax
push edi
mov ecx, ebx
call fcn.00409b2f
push edi
call fcn.00409db4
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00409b2f
push 0x10
pop edx
cmp dword [esi + 0x14], edx
jb 0x4c8566
mov esi, dword [esi]
cmp dword [ebx + 0x14], edx
jb 0x4c856d
mov ebx, dword [ebx]
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0x1c]
cmp dword [eax + 0x14], edx
jb 0x4c857b
mov eax, dword [eax]
cmp dword [ebp + 0x14], edx
jb 0x4c8583
mov ebp, dword [ebp]
push esi
push ebx
push eax
push ebp
push str.OS_info:__name__s_release__s_version__s_machine__s
call fcn.00409edb
add esp, 0x14
mov eax, ecx
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
leave
ret
Function at 0x4c8963
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor edi, edi
push 0x2cc
mov dword [ebp - 8], edi
call fcn.0045d923
mov ebx, eax
push 0x69fbc4
push 0x68986c
mov dword [ebp - 4], ebx
mov dword [ebx], 0x10007
call fcn.004617d7
test eax, eax
je 0x4c89db
push esi
push dword [ebp + 8]
push edi
push 0x1f03ff
call eax
mov esi, eax
test esi, esi
je 0x4c89da
push esi
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
je 0x4c89cc
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
test eax, eax
je 0x4c89cc
lea eax, [ebp - 8]
push eax
call fcn.004c8601
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c9788
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x67295d
call fcn.006313fc
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x94], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa0], ebx
and byte [esi + 0xc0], 0xf8
lea edi, [esi + 0x64]
push 0xa
pop ecx
xor eax, eax
mov byte [ebp - 4], 1
push 0x58
rep stosd dword es:[edi], eax
lea eax, [esi + 4]
push ebx
push eax
call fcn.00635a30
push 4
mov dword [esi + 0xac], 0x186a0
call fcn.00630af1
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x4c9830
push 0x4c98c7
push 0x4c98da
push 0xf
push 0x20
push 0x18
push 0x4f
call fcn.0052f77f
mov dword [edi], eax
jmp 0x4c9832
mov edi, ebx
mov ecx, dword [ebp - 0xc]
mov eax, 0x100000
mov dword [esi + 0xa8], edi
mov dword [esi + 0x28], 0x52fe4d
mov dword [esi + 0x2c], 0x52fe6c
mov dword [esi + 0x30], 0x52fe39
mov dword [esi + 0x34], 0x52fdd7
mov dword [esi + 0x38], 0x52fe44
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov eax, esi
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d2973
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x673068
call fcn.006313fc
sub esp, 0x5c
push ebx
xor ebx, ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov dword [esp + 0x78], ebx
mov eax, dword [esi]
call dword [eax + 0x104]
mov ebp, dword [esi + 0xd8]
push 0x693228
push edi
call fcn.0047bc25
mov eax, dword [esp + 0x8c]
pop ecx
pop ecx
cmp byte [eax], bl
je 0x4d29ec
push str._files_:__
push edi
call fcn.0047bc25
mov eax, dword [esp + 0x8c]
pop ecx
pop ecx
mov byte [eax], bl
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x34]
push eax
push 0x29
lea eax, [esp + 0x48]
push eax
call fcn.0046becb
push eax
push str._s__n_
push edi
call fcn.0047bc25
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebp + 4]
sub eax, ecx
cdq
mov dword [esp + 0x10], 0x9c
idiv dword [esp + 0x10]
test eax, eax
je 0x4d2b55
mov eax, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x28]
add eax, ecx
push eax
mov ecx, esi
mov dword [esp + 0x84], edx
mov dword [esp + 0x1c], eax
call fcn.004a12ba
mov ecx, dword [esi + 0xcc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
add eax, 0x34
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
cmp dword [eax + 0x14], 8
jb 0x4d2a79
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push dword [edx + ecx + 0x90]
mov ecx, dword [esi + 0xcc]
call dword [eax + 0x88]
mov ecx, dword [esp + 0x80]
push edx
push eax
mov eax, dword [esp + 0x8c]
push dword [eax + ecx + 0x84]
push dword [eax + ecx + 0x80]
push dword [eax + ecx + 0x8c]
push dword [eax + ecx + 0x94]
push ebx
push esi
call fcn.004d5383
mov ecx, dword [esp + 0x98]
movzx eax, al
push eax
mov eax, dword [esp + 0xa0]
push dword [eax + ecx + 0x34]
push dword [eax + ecx + 0x30]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [ecx + 0x64]
shr eax, 2
push eax
push dword [esp + 0x48]
xor eax, eax
test ebx, ebx
push dword [esp + 0x50]
sete al
push dword [ecx + 0xc]
add eax, str.___S__J__J__I__I__I__B__I__I__I__I__J
push dword [ecx + 8]
push dword [esp + 0x54]
push eax
push edi
call fcn.0047bc25
push 0x6a41f0
push edi
call fcn.0047bc25
mov eax, dword [esp + 0x5c]
add esp, 0x4c
add dword [esp + 0x14], eax
inc ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
sub eax, ecx
cdq
idiv dword [esp + 0x10]
add dword [esp + 0x84], 0xdc
cmp ebx, eax
mov eax, dword [esp + 0x14]
jne 0x4d2a3b
push 0x6a41f0
push edi
call fcn.0047bc25
pop ecx
pop ecx
lea ecx, [esp + 0x34]
call fcn.0041abd3
lea ecx, [esp + 0x28]
call fcn.004b56a7
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 8