joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c913
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x43cddc]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x42d995
call fcn.00415253
push 0x42f684
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004107d9
add esp, 0xc
test eax, eax
jne 0x40c9ee
push dword [ebp - 0x18]
call fcn.00418e63
cmp dword [0x453088], 0
pop ecx
je 0x40c96e
xor eax, eax
inc eax
jmp 0x40c9f0
lea eax, [ebp]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
cmp eax, esi
ja 0x40c9ee
test eax, eax
je 0x40c9ee
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d1d7
and dword [ebp - 4], 0
push str.JavaDeployReg.log
lea ecx, [ebp - 0x14]
call fcn.0040d1d7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040d3f0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40c9bf
call fcn.0040d3b2
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x40c9ca
mov eax, dword [esi]
jmp 0x40c9cc
xor eax, eax
push 0x42f730
push eax
push 0x453088
call fcn.00418e63
add esp, 0xc
test eax, eax
je 0x40ca13
test esi, esi
je 0x40c9ee
mov ecx, esi
call fcn.0040d3b2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0040ffe6
add ebp, 0x20c
leave
ret
test esi, esi
je 0x40c966
mov ecx, esi
call fcn.0040d3b2
jmp 0x40c966

Function at 0x40ccc2
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x42d9bd
call fcn.00415286
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.00418e63
test eax, eax
je 0x40cced
call fcn.0040ccb3
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x42e30c
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x40cd48
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.0040d692
pop ecx
pop ecx
push edi
push esi
call fcn.00418e63
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.0040d30f
push eax
push esi
push 0x42e66c
call fcn.0040d692
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x40cd41
ret
cmp ebx, edi
je 0x40cd53
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x40ce04
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x40cdb0
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x40cd0c
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x40ce04
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x40ce04
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x40cd0c
mov eax, esi
call fcn.004152bc
ret
Function at 0x40d10c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x43cddc]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.00418e63
mov ebx, eax
cmp ebx, esi
je 0x40d17f
lea ecx, [ebp - 0x74]
call fcn.0040ab9e
mov eax, ebx
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ffe6
add ebp, 0x1a0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40d197
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040d10c
cmp eax, esi
jne 0x40d1c9
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x40d187
lea ecx, [ebp - 0x74]
call fcn.0040ab9e
push dword [ebp - 0x78]
mov ecx, edi
call fcn.0040ab2f
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.0040ab9e
mov eax, esi
jmp 0x40d165

Function at 0x40d6f0
Capabilities:
Create process on windows

Disassembly:
call fcn.0040e9b9
test eax, eax
jne 0x40d70e
push 1
push eax
push eax
push str.http:__java.com_inst_dl_redirect
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x40d70f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3f9c]
mov eax, 0x401c
call fcn.004105e0
mov eax, dword [0x43cddc]
xor eax, ebp
mov dword [ebp + 0x3f98], eax
mov eax, dword [ebp + 0x3fa4]
push ebx
push esi
push edi
mov dword [ebp - 0x74], eax
xor esi, esi
xor eax, eax
mov ebx, 0xffe
mov dword [ebp - 0x78], esi
push ebx
mov word [ebp + 0x2f98], ax
lea eax, [ebp + 0x2f9a]
push esi
push eax
mov dword [ebp - 0x70], esi
call fcn.00410610
xor eax, eax
push ebx
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push esi
push eax
call fcn.00410610
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
push 0x20019
push esi
push 0x42fc30
mov edi, 0x800
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d878
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2f98]
push eax
push esi
jmp 0x40d867
lea eax, [ebp + 0x2f98]
push eax
push 0x42fc88
push 0x42fc24
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.00418e63
add esp, 0x14
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x68]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d84f
push ebx
mov word [ebp + 0xf98], ax
lea eax, [ebp + 0xf9a]
push esi
push eax
call fcn.00410610
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xf98]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push 0x42fce0
push dword [ebp - 0x7c]
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40d84f
cmp dword [ebp - 0x6c], esi
jbe 0x40d84f
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push 0x42fcf8
push dword [ebp - 0x7c]
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc dword [ebp - 0x70]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2f98]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], edi
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40d7b1
mov ecx, dword [ebp - 0x74]
lea eax, [ebp + 0x1f98]
push eax
call fcn.0040d1d7
mov ecx, dword [ebp + 0x3f98]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ffe6
add ebp, 0x3f9c
leave
ret
Function at 0x40e05b
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2f9c]
mov eax, 0x301c
call fcn.004105e0
mov eax, dword [0x43cddc]
xor eax, ebp
mov dword [ebp + 0x2f98], eax
mov eax, dword [ebp + 0x2fa4]
push ebx
push esi
push edi
mov dword [ebp - 0x74], eax
xor eax, eax
mov edi, 0xffe
xor esi, esi
push edi
mov word [ebp + 0x1f98], ax
lea eax, [ebp + 0x1f9a]
push esi
push eax
mov dword [ebp - 0x70], esi
call fcn.00410610
xor eax, eax
push edi
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push esi
push eax
call fcn.00410610
add esp, 0x18
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push esi
push 0x4301c0
mov ebx, 0x800
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e1c3
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
push esi
jmp 0x40e1b2
lea eax, [ebp + 0x1f98]
push eax
push 0x430218
push 0x4301b4
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.00418e63
add esp, 0x14
lea eax, [ebp - 0x78]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x68]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e19a
push edi
mov word [ebp + 0xf98], ax
lea eax, [ebp + 0xf9a]
push esi
push eax
call fcn.00410610
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xf98]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push str.RuntimeLib
push dword [ebp - 0x78]
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e19a
cmp dword [ebp - 0x6c], esi
jbe 0x40e19a
mov eax, dword [ebp + 0x2fa8]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x80]
push eax
push esi
push 0x430288
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc dword [ebp - 0x70]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], ebx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40e0fa
mov eax, dword [ebp - 0x74]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40e1c9
sub eax, edx
sar eax, 1
xor ecx, ecx
cmp ecx, eax
mov ecx, dword [ebp + 0x2f98]
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
neg eax
pop ebx
call fcn.0040ffe6
add ebp, 0x2f9c
leave
ret
Function at 0x40e9b9
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x2b8
mov eax, dword [0x43cddc]
xor eax, ebp
mov dword [ebp + 0x234], eax
push esi
push 0x208
xor esi, esi
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.00410610
add esp, 0xc
lea eax, [ebp + 0x2c]
push eax
push esi
push esi
push 0x2c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x40ea14
xor eax, eax
mov ecx, dword [ebp + 0x234]
xor ecx, ebp
pop esi
call fcn.0040ffe6
add ebp, 0x238
leave
ret
xor eax, eax
push ebx
mov word [ebp + 0x10], ax
push edi
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x24], 7
mov dword [ebp + 0x20], esi
call fcn.0040f362
push str.JavaJava_Updatejucheck.exe
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00418e63
add esp, 0xc
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp + 0x10]
call fcn.0040ec7c
push 0x22
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x10]
push 0x22
push eax
call fcn.0040f585
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00418e63
add esp, 0xc
push esi
push ebx
lea ecx, [ebp + 0x10]
call fcn.0040ec7c
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00410610
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp + 8], 8
stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0x44
mov eax, ecx
jae 0x40eaae
lea eax, [ebp - 0xc]
cmp dword [ebp + 8], 8
mov edx, dword [ebp + 4]
lea eax, [eax + edx*2]
jae 0x40eabd
lea ecx, [ebp - 0xc]
push dword [ebp - 0x2c]
mov dword [ebp + 0x1c], esi
push eax
push ecx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], esi
call fcn.0040f604
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x2c], esi
call fcn.0040f30c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40eaee
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push esi
push esi
push 0x8000000
push ebx
push esi
push esi
push dword [ebp + 0x1c]
push eax
call fcn.0040b3a3
add esp, 0x28
test eax, eax
jne 0x40eb37
xor edi, edi
lea ecx, [ebp + 0x1c]
call fcn.0040eea9
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.0040ec7c
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040ec7c
mov eax, edi
pop edi
pop ebx
jmp 0x40e9fe
mov edi, ebx
jmp 0x40eb12

Function at 0x40ffe6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43cddc]
jne 0x40fff0
repz ret
jmp fcn.00417613
Function at 0x418e63
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x418e72
pop dword [ebp - 0x34]
mov eax, 0xe417ccfb
add eax, 0x1c29c177
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xfb7b6af7
sub dword [ebp - 0x44], 0xad2925ac
mov dword [ebp - 0x40], 0x2f6dbeee
add dword [ebp - 0x40], 0x2c58d57
mov dword [ebp - 0x3c], 0x861e59f1
add dword [ebp - 0x3c], 0xc62dea3d
mov dword [ebp - 0x38], 0x4d0d4f1e
add dword [ebp - 0x38], 0xb2f2b0e2
lea eax, [ebp - 0x44]
push eax
mov eax, 0xf65b2b39
add eax, 0x9e7b61f
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xddf6bb14
sub dword [ebp - 0x44], 0x698451be
mov dword [ebp - 0x40], 0xdf450b3
add dword [ebp - 0x40], 0x337810c2
mov dword [ebp - 0x3c], 0x7c0da780
sub dword [ebp - 0x3c], 0x189e3b14
mov dword [ebp - 0x38], 0xd87b7dea
sub dword [ebp - 0x38], 0xd87b7dea
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x20979f0b
sub eax, 0x2054bef7
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x40018
push 0
call eax
mov ecx, 0x64edbf6f
add ecx, 0x9b128567
mov ebx, eax
mov edx, 0x6c23d02
add edx, 0xf983d2fe
add edx, dword [ebp - 0x34]
mov edi, 0x4574d645
add edi, 0x9287779
sub dword [ebp - 0x1c], 0xc58138d7
mov esi, dword [edx]
xor dword [ebp - 0x20], 0xd89bd0c3
sub esi, edi
mov dword [ebp - 0x20], 0x72386ebd
mov dword [ebx], esi
add dword [ebp - 0x10], eax
add ebx, 0x79ecd6cd
sub ebx, 0x79ecd6c9
add edx, 4
loop 0x418f94
add eax, 0xa5d4d1d8
sub eax, 0xa5d3cbad
mov ebx, eax
add eax, 0x87000e23
add eax, 0x78fff1e2
mov ecx, 0xd5b0f0d9
sub ecx, 0xd570f0d9
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001e5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002fdb0]
jne 0x10001e66
repz ret
jmp fcn.1000210d

Function at 0x100026c7
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1002fd98], 0
mov byte [0x1002fd9c], 0
mov dword [0x1002fd8c], 0x7e8
mov dword [0x1002fd94], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10002716
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1002fd90], 0x126
mov eax, dword [0x1002fd94]
add eax, 1
mov dword [0x1002fd94], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10002716
xor eax, eax
mov dword [0x1002fd94], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1002fda0], 0
mov edi, dword [0x1002fd98]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1002fda0], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x1002fd98], edx
mov dword [0x1002fd8c], 0x1c92
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1002fd9c], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x1002fd9c]
mov esi, dword [0x1002fd98]
mov byte [ebx + esi], cl
mov esi, dword [0x1002fd94]
add esi, 1
mov dword [0x1002fd94], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10002755
jmp 0x1000270e
Function at 0x10002a35
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1002fd8c], 0xa6f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10005546]
mov dh, byte [eax + 0x10005517]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x10002a57
lea eax, [ebp - 0x24]
mov dword [0x1002fd90], 0x24b7
mov dword [ebp - 0x34], eax
call fcn.10002616
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100024a0
mov dword [0x1002fd90], 0x1689
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10002b72
mov eax, dword [0x1002fd8c]
mov ecx, dword [ebp - 0x38]
add eax, 0xffffff6a
mov dword [0x1002fd8c], eax
mov eax, esp
mov dword [eax + 0xc], 0x40
mov dword [eax + 8], 0x1000
mov dword [eax + 4], 0x6000
mov dword [eax], 0
call ecx
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.100030e7
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x1002fd8c], 0xefb
mov edx, dword [ebp - 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [0x1002fd8c]
add ecx, 0x1cd0
mov dword [0x1002fd8c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x40], ecx
add ecx, 0x216d
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10002b69
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10002c5d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov dword [0x1002fd90], 0x1aa4
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1002fd8c], 0x82f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
jmp 0x10002d30
mov eax, 0x2400
mov dword [0x1002fd8c], 0x1ebc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
je 0x10002d7d
jmp 0x10002d07
mov eax, 0xd73
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
je 0x10002ca2
jmp 0x10002d07
mov eax, 0xe53
mov dword [0x1002fd8c], 0x90f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
je 0x10002da7
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x10002ddc
mov eax, 0xc5a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
je 0x10002ce2
jmp 0x10002d07
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
je 0x10002d5d
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], eax
jl 0x10002d30
mov eax, dword [ebp - 0x30]
mov ecx, 0xd73
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x10002cc9
jmp 0x10002d07
mov eax, 0xc5a
mov dword [0x1002fd8c], 0x716
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
je 0x10002d17
jmp 0x10002d07
mov eax, 1
mov ecx, 0x1f9
mov edx, 0xe53
mov dword [0x1002fd90], 0x201d
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
cmp word [esi + edi*2 - 0xe], 0x6c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x10002d07
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x1002fd8c], eax
mov eax, ecx
add esp, 0x28
pop esi
pop edi
pop ebp
ret
Function at 0x10002ec9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x1002fd8c], 0x825
mov dword [ebp - 0x10], eax
call fcn.10003609
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10002f0f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x1002fd90], 0x49
mov esi, dword [edx + eax + 0x24]
mov dword [0x1002fd8c], 0x1e7e
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10002f63
jmp 0x10002f6e
mov al, byte [ebp - 0x35]
test al, 1
jne 0x10002fd4
jmp 0x10003025
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jmp 0x10002ffc
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x35], cl
je 0x10002f57
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x4c]
add edx, 1
mov ah, byte [ebp - 0x35]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x44], edx
jne 0x10002f80
jmp 0x10002f57
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1002fd8c], 0x2269
mov dword [ebp - 0x34], edi
jmp 0x10002f63
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x1002fd8c], 0x825
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edx
jmp 0x10002f80
xor eax, eax
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov edx, dword [ebp - 0x54]
add edx, 2
mov esi, dword [ebp - 0x30]
cmp ecx, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
jb 0x10002ffc
jmp 0x10002f63