joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420b30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4545c9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46bd84]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edi
call fcn.0042d67b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420b7d
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x20], edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x14], 1
mov edi, 0x7d
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add edi, edi
sub eax, edi
or eax, ecx
jge 0x420bc2
push edi
mov ecx, esi
call fcn.00401cc0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi]
mov edx, dword [esp + 0x34]
push ecx
push edi
push eax
mov eax, dword [esp + 0x3c]
push 0x45e5cc
push edx
push eax
call ebp
mov ebx, eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x420bf5
push ecx
push eax
call fcn.0043d945
add esp, 8
test eax, eax
jl 0x420c22
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x420c22
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
inc ebx
mov word [ecx + eax*2], dx
cmp edi, ebx
jbe 0x420ba2
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00401f60
int3

Function at 0x420d70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x454549
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46bd84]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.0042d67b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420dc1
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], 0
mov ecx, 1
mov dword [esp + 0xc], ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x420dfb
push 0x104
mov ecx, esi
call fcn.00401cc0
mov eax, dword [esi]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x420e22
push ecx
push eax
call fcn.0043d945
add esp, 8
test eax, eax
jl 0x420e53
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x420e53
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
test edi, edi
jne 0x420e3f
mov ecx, esi
call fcn.00401b90
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
push 0x80070057
call fcn.00401f60
int3
Function at 0x421180
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
push 0x30
lea eax, [edi + 4]
push 0
push eax
mov dword [edi], 0
call fcn.0043f900
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x4211fd
push ebx
push esi
call fcn.0042d2e4
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4211f3
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0x46043c
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4211f3
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov dword [edi + 0xc], ecx
mov dword [edi + 8], edx
push ebx
call fcn.0042d2d9
add esp, 4
pop ebx
pop esi
mov eax, edi
pop ebp
add esp, 0xc
ret

Function at 0x421210
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x454f99
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46bd84]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
call fcn.0042d67b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42125f
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x34]
add eax, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
cmp ebp, ebx
je 0x4212b2
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x421339
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x44]
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, ebx
jne 0x421339
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x4212e5
cmp eax, 2
je 0x4212e5
mov esi, 0xd
jmp 0x421339
mov edx, dword [esp + 0x14]
push edx
call fcn.0042d2e4
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
push ebx
push edi
call fcn.0043f900
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp ebp, ebx
jne 0x42130c
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x14]
push ecx
push edi
push ebx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, ebx
jne 0x421330
mov ecx, dword [esp + 0x34]
push edi
call fcn.00401e60
push edi
call fcn.0042d2d9
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x421348
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x421352
mov dword [eax], esi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x421370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebp
push esi
lea eax, [esp + 8]
push eax
xor ebp, ebp
push 0x20019
push ebp
push 0x45fb90
push SysReAllocString
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebp
jne 0x4213ee
mov eax, dword [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x1c]
push edx
push ebp
push ebx
push eax
call edi
mov esi, eax
cmp esi, ebp
jne 0x4213ed
cmp dword [esp + 0x14], 4
jne 0x4213e8
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push ebp
push ebp
push ebx
push eax
call edi
mov esi, eax
jmp 0x4213ed
mov esi, 0xd
pop edi
mov eax, dword [esp + 8]
cmp eax, ebp
je 0x4213fd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x421407
mov dword [eax], esi
mov eax, dword [esp + 0xc]
pop esi
pop ebp
add esp, 0x10
ret

Function at 0x421420
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x421464
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 8]
push eax
push 1
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x421473
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
Function at 0x422370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x471400], ecx
inc edx
cmp edx, 0x100
jb 0x422373
cmp edx, 0x800
jae 0x422449
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x471000]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x471400]
inc edx
mov dword [edx*4 + 0x4713fc], eax
cmp edx, 0x800
jb 0x422420
mov dword [0x47010c], 0x422470
call fcn.00426050
test eax, eax
jne 0x422466
mov dword [0x47010c], 0x422520
pop ecx
ret
Function at 0x422530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x46bd84]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x14]
push edi
mov ebx, edx
mov edx, dword [eax + 0x10]
push ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], ebx
call fcn.00427c40
xor edi, edi
add esp, 4
cmp eax, edi
jne 0x4226ab
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xa8]
mov eax, 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x78], eax
nop
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0x40000
cmp dword [esp + 0xac], edi
ja 0x4225e3
jb 0x4225df
cmp ebx, 0x40000
jae 0x4225e3
mov dword [esp + 0x14], ebx
mov edx, dword [ebp]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
call edx
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x422697
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xb8]
push 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
lea eax, [esp + 0x3c]
call fcn.004278b0
mov esi, eax
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x28], eax
add esp, 0x14
sub ebx, eax
sbb dword [esp + 0xac], 0
test esi, esi
jne 0x422697
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x4c], ecx
je 0x422674
test eax, eax
jne 0x42265d
cmp edi, dword [esp + 0x4c]
je 0x422674
mov edx, dword [ebp + 4]
push eax
push ebp
call edx
mov esi, eax
add esp, 8
test esi, esi
jne 0x422697
xor edi, edi
jmp 0x4225c0
cmp ecx, dword [esp + 0xb4]
jne 0x422692
cmp dword [esp + 0x14], 0
jne 0x422692
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x422697
cmp eax, 4
je 0x422697
mov esi, 1
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
push eax
call ecx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043d85c
add esp, 0x90
ret
Function at 0x4226d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb0
mov eax, dword [0x46bd84]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
push ebx
push ebp
mov ebp, dword [esp + 0xc8]
push esi
push edi
xor ebx, ebx
mov edi, 1
mov esi, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
cmp dword [eax + 0x14], edi
je 0x422717
mov eax, edi
jmp 0x42286d
mov eax, dword [eax + 0x10]
movzx ecx, byte [eax]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004260e0
add esp, 4
cmp eax, ebx
jne 0x42286d
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x78], edi
lea esp, [esp]
mov eax, 0x40000
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
cmp dword [esp + 0xcc], ebx
ja 0x4227ac
jb 0x4227a1
cmp dword [esp + 0xc8], eax
jae 0x4227ac
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x422859
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
lea esi, [esp + 0x38]
call fcn.00426290
mov esi, eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x24], eax
add esp, 0x10
sub dword [esp + 0xc8], eax
sbb dword [esp + 0xcc], ebx
cmp esi, ebx
jne 0x422859
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x4c], ecx
je 0x42283e
cmp eax, ebx
jne 0x422828
cmp edi, dword [esp + 0x4c]
je 0x42283e
push eax
mov eax, dword [ebp + 4]
push ebp
call eax
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x422780
jmp 0x422859
cmp ecx, dword [esp + 0xd4]
jne 0x422854
cmp dword [esp + 0x14], ebx
jne 0x422854
cmp dword [esp + 0x20], 1
je 0x422859
mov esi, 1
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
push ecx
push eax
call edx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043d85c
add esp, 0xb0
ret
Function at 0x422f60
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
jne 0x422f71
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [edi], 0
mov edi, edi
mov eax, 0x400000
cmp esi, 0x400000
ja 0x422f8f
mov eax, esi
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [esp + 0x20], 0
call ebp
mov ecx, dword [esp + 0xc]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x422fc6
test ecx, ecx
je 0x422fbf
test esi, esi
ja 0x422f80
pop ebp
pop esi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x425db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push ebp
push esi
mov esi, dword [ecx]
xor ebp, ebp
and esi, 7
cmp eax, 5
jae 0x425dcd
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0x14]
push ebx
lea ebx, [edx + eax - 4]
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
lea edi, [edx + ebp]
cmp edi, ebx
jae 0x425dfd
lea ebx, [ebx]
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x425dfd
inc edi
cmp edi, ebx
jb 0x425df0
mov ebp, edi
sub ebp, edx
mov eax, ebp
sub eax, dword [esp + 0x10]
cmp edi, ebx
jae 0x425f05
cmp eax, 3
jbe 0x425e30
xor esi, esi
mov al, byte [edi + 4]
mov dword [esp + 0x10], ebp
test al, al
je 0x425e6b
cmp al, 0xff
je 0x425e6b
and esi, 3
add esi, esi
or esi, 1
inc ebp
jmp 0x425de3
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x425e16
movzx ecx, byte [esi + 0x45fa28]
mov eax, edi
sub eax, ecx
cmp byte [esi + 0x45fa20], 0
mov al, byte [eax + 4]
je 0x425e59
test al, al
je 0x425e59
cmp al, 0xff
jne 0x425e16
and esi, 3
add esi, esi
mov dword [esp + 0x10], ebp
or esi, 1
inc ebp
jmp 0x425de3
movzx ecx, byte [edi + 3]
movzx edx, al
movzx eax, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
lea esp, [esp]
sub edx, ebp
sub edx, 5
mov eax, edx
test esi, esi
je 0x425ed7
movzx edx, byte [esi + 0x45fa28]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
test bl, bl
je 0x425ebc
cmp bl, 0xff
jne 0x425ed3
mov ebx, dword [esp + 0x14]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x425e90
mov ebx, dword [esp + 0x14]
mov edx, eax
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, eax
shr edx, 8
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x1c]
mov byte [edi + 3], cl
mov byte [edi + 1], al
add ebp, 5
jmp 0x425de3
pop edi
pop ebx
cmp eax, 3
jbe 0x425f1c
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
lea ecx, [eax - 1]
mov eax, dword [esp + 0x18]
shl esi, cl
and esi, 7
mov dword [eax], esi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
Function at 0x429c60
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x4616f8
push str.kernel32
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov esi, eax
mov dword [esp + 0xc], 0
test esi, esi
je 0x429c9d
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
xor eax, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp dword [esp + 0xc], eax
je 0x429cf3
push 0x461a20
push str.kernel32
call edi
push eax
call ebx
test eax, eax
je 0x429cfe
lea ecx, [esp + 0x10]
push ecx
call eax
movzx eax, word [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0x28
ret
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x439fb3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x439ffa
call fcn.00433651
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x439ffa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x43a016
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00439b2b
mov esi, eax
test edi, edi
je 0x43a014
test ebx, ebx
je 0x43a014
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43d85c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46bd84]
jne 0x43d866
repz ret
jmp fcn.0044331b

Function at 0x44b692
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00442c7f
and dword [ebp - 4], 0
cmp dword [0x470038], 0
mov ebx, eax
jne 0x44b743
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44b7f4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44b7f4
push eax
call fcn.00442c0d
mov dword [esp], 0x45b428
push edi
mov dword [0x470038], eax
call esi
push eax
call fcn.00442c0d
mov dword [esp], 0x45b414
push edi
mov dword [0x47003c], eax
call esi
push eax
call fcn.00442c0d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x470040], eax
call esi
push eax
call fcn.00442c0d
pop ecx
mov dword [0x470048], eax
test eax, eax
je 0x44b743
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442c0d
pop ecx
mov dword [0x470044], eax
mov eax, dword [0x470044]
cmp eax, ebx
je 0x44b79b
cmp dword [0x470048], ebx
je 0x44b79b
push eax
call fcn.00442c88
push dword [0x470048]
mov esi, eax
call fcn.00442c88
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44b79b
test edi, edi
je 0x44b79b
call esi
test eax, eax
je 0x44b792
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44b792
test byte [ebp - 0xc], 1
jne 0x44b79b
or dword [ebp + 0x10], 0x200000
jmp 0x44b7d4
mov eax, dword [0x47003c]
cmp eax, ebx
je 0x44b7d4
push eax
call fcn.00442c88
pop ecx
test eax, eax
je 0x44b7d4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44b7d4
mov eax, dword [0x470040]
cmp eax, ebx
je 0x44b7d4
push eax
call fcn.00442c88
pop ecx
test eax, eax
je 0x44b7d4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x470038]
call fcn.00442c88
pop ecx
test eax, eax
je 0x44b7f4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44b7f6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f573
Capabilities:
Parse pe header

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

Function at 0x431790
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4317bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4317bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1fa660c6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x348f0b61
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401029
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push ebp
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call fcn.0040f32c
xor ebp, ebp
pop ecx
test eax, eax
je 0x401076
push str.Windows_original_main_args:_n
call fcn.00401104
pop ecx
mov esi, ebp
call fcn.0040e687
cmp dword [eax], ebp
jle 0x401076
call fcn.0040e68d
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00401104
add esp, 0xc
inc esi
call fcn.0040e687
cmp esi, dword [eax]
jl 0x401054
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0040120f
call fcn.00401277
mov ebx, eax
lea ecx, [ebx*4 + 4]
push ecx
call fcn.00401127
pop ecx
pop ecx
mov esi, eax
call fcn.0040127d
mov edx, ebp
test ebx, ebx
jle 0x4010b0
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, ebx
jl 0x4010a5
mov edi, dword [0x431004]
mov dword [esi + edx*4], ebp
test edi, edi
jne 0x4010bf
mov edi, dword [esi]
mov edx, dword [section..data]
test edx, edx
jne 0x4010cb
mov edx, dword [esi]
mov ecx, dword [0x431990]
test ecx, ecx
push ebp
push ebp
push 1
setne al
movzx eax, al
push eax
push edi
push edx
push 0x42526c
push 0x425270
push dword [0x431994]
push 1
push ecx
push 1
push esi
push ebx
call fcn.00401d57
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret