joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1ea64e1
Capabilities:
Encrypt data using speck

Disassembly:
call fcn.01ea650e
adc dh, byte [eax + 0x37b04126]
sub eax, 0xb7443dad
jbe 0x1ea6519
setbe byte [ecx]
ror byte [ebx - 0x72fbdba4], 0xc
mov ebx, dword [esp + 4]
lea ecx, [esi*4]
setne cl
jmp 0x1ea64b7
pushal
pop ecx
mov cx, si
lea ecx, [eax*4]
mov ch, byte [esp]
mov ecx, dword [esp]
jmp 0x1ea652d
lea eax, [ebx + esi]
mov eax, dword [esp]
mov al, byte [esp]
mov ax, word [esp]
xor ecx, dword [ebx + reloc.KERNEL32.dll_FreeEnvironmentStringsA]
and al, 0x66
mov eax, dword [esp]
lea eax, [edi + edi]
jmp 0x1ea6541
mov ecx, dword [esp + 0x1c]
lea esp, [esp + 0x20]
push si
lea esp, [esp + 2]
push eax
mov eax, dword [esp]
jmp 0x1ea6517
push edi
lea eax, [esp + ebx]
xchg di, ax
mov ah, byte [esp]
push ebp
lea ebp, [ebx + ebx]
jmp 0x1ea6590
mov ah, byte [esp]
mov ah, dl
mov di, ax
mov di, cx
lea ebp, [edi*4]
not eax
call fcn.01ea6579

Function at 0x1ebdbff
Capabilities:
Encrypt data using speck

Disassembly:
mov word [esp], dx
push word [esp]
lea esp, [esp + 2]
lea esp, [esp + 8]
jmp 0x1ea7658
jmp 0x1ebdb54
push ebp
bswap ebp
lea ebp, [ebx + esi]
jmp 0x1ebdb96
mov dword [esp + 2], eax
lea esp, [esp + 3]
jmp 0x1ebdb9f
mov ebp, esp
push ecx
sub esp, 3
pushal
jmp 0x1ebdb80
lea esp, [esp + 0x20]
push ecx
call fcn.01ebdc17
and eax, 0xbe4324b6
jp 0x1ebdbe5
stosd dword es:[edi], eax
cmp ebx, dword [esi - 0x53]
outsb dx, byte [esi]
pop ebp
int3
mov edi, eax
jmp 0x1ebdbf7
ja 0x1ebdc45
test eax, 0x53666bc8
mov word [esp], dx
lea esp, [esp + 2]
push edi
jmp 0x1ebdbd4
mov al, byte [ecx]
call 0x1ebdbff
or byte [ebp + 0x3c042464], 0x41
jmp 0x1ebdc34
jb 0x1e8ab7a
call fcn.01ebdc1e
lea esp, [esp + 4]
cmp al, 0x5a
jmp 0x1ebdd4f
jbe 0x1e8ac71
ja 0x1e8ab7a
lea esp, [esp + 2]
lea esp, [esp + 0xc]

Function at 0x1ebdc17
Capabilities:
Encrypt data using speck

Disassembly:
push bx
lea esp, [esp + 4]
push ebx
jmp 0x1ebdbea

Function at 0x1ebdc8b
Capabilities:
Encrypt data using speck

Disassembly:
push word [esp + 3]
lea esp, [esp + 2]
lea esp, [esp + 4]
jbe 0x1e8ac71
ja 0x1e8abbb
cld
invalid
jg 0x1ebdca2
xchg edx, eax
cmc
add al, 0xb2
dec ebx
leave
pop ecx
cmp bl, cl
or al, 0xe8
or esp, dword [edx - reloc.KERNEL32.dll_FreeEnvironmentStringsA]
call 0x1ebdc84
lea esp, [esp + 8]
jb 0x1e8aba5
jae 0x1ebdcc8

Function at 0x1ebdcb8
Capabilities:
Encrypt data using speck

Disassembly:
lea esp, [esp + 8]
jb 0x1e8aba5
jae 0x1ebdcc8
invalid
cmp al, 0x39
push eax
pop word [esp]
mov byte [esp], bl
lea esp, [esp + 2]
jmp fcn.01ebdcea
Function at 0x1f73ed9
Capabilities:
Access peb ldr_data

Disassembly:
lea esp, [esp + 3]
lea esp, [esp + 1]
mov dword [esp + 0x30], edi
jmp 0x1f73f27
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x1f73f11
mov eax, dword [eax + 8]
jmp 0x1f73f6d
lea esp, [esp + 0x30]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x1f73ee7
push eax
jmp 0x1f73007

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

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x7bd96ebe
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x72370605
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x37f52933
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x48485fdd
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x13c
mov eax, dword [0x403004]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
lea eax, [esp + 8]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionOpenWith
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401191
mov esi, dword [esp + 8]
test esi, esi
je 0x401191
push 0x100
push eax
lea eax, [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x1c], 0x100
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x4021e4
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401191
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
sub ecx, edx
sar ecx, 1
cmp ecx, 0x26
jne 0x401191
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x401191
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x6a283fe2
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x4599ecfa
push eax
push 4
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0x9e8c491
push eax
mov dword [esp + 0x2c], 0x267b1357
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004012cd
mov esp, ebp
pop ebp
ret

Function at 0x4011b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 2
push 0
mov ebx, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00401080
mov edi, eax
push 0
push edi
call dword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
push str..pdf
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x401214
mov eax, dword [edi]
push 4
push esi
push ebx
push edi
call dword [eax + 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
push 0x8007000e
call fcn.00401030
int3
Function at 0x411710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x41172a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411720
mov eax, 1
add ebx, ebx
jne 0x411743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411738
jne 0x411754
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411738
xor ecx, ecx
sub eax, 3
jb 0x411768
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4117da
mov ebp, eax
add ebx, ebx
jne 0x411773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411780
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4117a4
inc ecx
add ebx, ebx
jne 0x411790
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411785
jne 0x4117a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411785
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4117c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4117b5
jmp 0x411726
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4117c4
add edi, ecx
jmp 0x411726
pop esi
mov edi, esi
mov ecx, 0x27e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4117e2
cmp byte [edi], 5
jne 0x4117e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4117e7
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x411856
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12cd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12cf8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411814
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12cfc]
or eax, eax
je 0x411850
mov dword [ebx], eax
add ebx, 4
jmp 0x411831
call dword [esi + 0x12d0c]
mov ebp, dword [esi + 0x12d00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41188a
sub esp, 0xffffff80
jmp 0x4022e2
Function at 0x417a10
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax
push esi

Function at 0x424b28
Capabilities:
Encode data using xor

Disassembly:
or al, 0x76
or esi, dword [ebp - 0x87ae2bc]
xchg esp, eax
imul esi, dword [edi + edx*2 + 0x441cc98d], 0xffffff95
rcl edi, 0xb1
adc byte [0xa4d18264], 0xd2
push ebp
dec esp
xor al, 0x45
invalid

Function at 0x468e58
Capabilities:
Encode data using xor

Disassembly:
cli
mov dh, 0x2b
inc esp
xchg edi, eax
xchg edi, eax
inc edi
add byte [ebx + 0x6abed779], cl
int 0xa
invalid
jp 0x468dc1
sub eax, 0x3ec1c503
fsubr st(2), st(0)
das
lodsd eax, dword [esi]
xor dword [edi - 0x6c67ddb0], edi
push es
dec esi
lea edx, [ebx - 0x79]
adc dword [edx + 0x3148fa45], ebp
inc esi
pop ecx
mov edi, 0xd3f8a2ca
test bh, bh
sahf
or byte [ebx - 0x65], ah
in al, dx
mov ecx, 0x29068ba1
shl dword [eax + 0x387ac549], 0xe4
xchg esi, eax
pop edi
sub eax, 0xb5d4805a
sub edx, dword [ecx]
bound esp, qword [eax + 0x30cab41d]
ja 0x468df4
invalid
fld dword [ecx - 0x6d18801b]
cmp esp, edx
dec cx
xchg edx, eax
sahf
mov dl, 9
xlatb
scasb al, byte es:[edi]
lds ebx, [ecx - 0x3187b0ab]
or al, 0xf3
dec ebx
xor dword [edi - 0xfbd4cac], ebx
pushfd
inc ecx
jge 0x468dfd
ret

Function at 0x627f51
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6313c8
cmp edx, dword [eax]
je 0x627f73
add eax, 8
inc ecx
cmp eax, 0x631458
jl 0x627f64
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6313c8]
jne 0x6280a1
mov eax, dword [0x635d9c]
cmp eax, 1
je 0x62807b
test eax, eax
jne 0x627fa4
cmp dword [0x6312f4], 1
je 0x62807b
cmp edx, 0xfc
je 0x6280a1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x627fdb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00628930
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00628dc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62801e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00628dc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62daf4
push edi
call fcn.0062ac90
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00628930
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00628940
lea eax, [ebp - 0xa0]
push 0x62dad4
push eax
call fcn.00628940
push dword [esi + 0x6313cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00628940
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062ac04
add esp, 0x2c
pop edi
jmp 0x6280a1
lea eax, [ebp + 8]
lea esi, [esi + 0x6313cc]
push 0
push eax
push dword [esi]
call fcn.00628dc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x36ed421a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x2ca56270
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x425634]
push ebx
push ebp
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
mov dword [0x425638], eax
call fcn.00408d0a
xor ebx, ebx
pop ecx
test eax, eax
je 0x401053
push str.Windows_original_main_args:_n
call fcn.00408bc6
xor esi, esi
pop ecx
cmp dword [0x425628], ebx
jle 0x401053
mov eax, dword [0x42562c]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00408bc6
add esp, 0xc
inc esi
cmp esi, dword [0x425628]
jl 0x401034
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00403911
call fcn.00403905
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call fcn.00403987
pop ecx
pop ecx
mov esi, eax
call fcn.0040390b
xor ecx, ecx
cmp edi, ebx
jle 0x40108d
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401082
mov eax, dword [str.java]
mov dword [esi + ecx*4], ebx
mov edx, eax
cmp eax, ebx
jne 0x40109d
mov edx, dword [esi]
mov ebp, dword [0x42400c]
cmp ebp, ebx
jne 0x4010a9
mov ebp, dword [esi]
mov eax, dword [0x425420]
push ebx
xor ecx, ecx
inc ecx
push ecx
push ecx
cmp eax, ebx
setne bl
movzx ebx, bl
push ebx
push edx
push ebp
push 0x41c254
push 0x41c244
push dword [0x425424]
push ecx
push eax
push ecx
push esi
push edi
call fcn.00403449
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x403e06
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x424070]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403ea9
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.00406495
pop ecx
pop ecx
test eax, eax
je 0x403e92
test ebx, ebx
je 0x403e86
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0040635c
pop ecx
pop ecx
test eax, eax
jle 0x403e92
push ebx
call fcn.004039ef
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.004039ce
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x403e53
xor edi, edi
cmp ebx, edi
jne 0x403ead
xor eax, eax
jmp 0x403f19
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403edc
call fcn.004039ef
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403ea9
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403ea9
call fcn.004039ef
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403ecc
cmp dword [ebp - 0x70], edi
je 0x403f0f
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.004039ce
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004098c8
add ebp, 0x9c
leave
ret
Function at 0x404ff2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push 0x10000
push dword [ebp + 0x14]
xor edi, edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
push edi
call fcn.0040b0ab
add esp, 0x18
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x40503b
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
push edi
call fcn.0040b0ab
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [0x424040], edi
je 0x4050d4
push str.J2D_D3D
call fcn.00408d0a
pop ecx
mov esi, str.false
cmp eax, edi
je 0x40506e
push esi
push eax
call fcn.0041b509
pop ecx
pop ecx
test eax, eax
jne 0x40506e
mov dword [0x424040], edi
push ebx
push str.J2D_D3D_PRELOAD
call fcn.00408d0a
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x405093
push esi
push ebx
call fcn.0041b509
pop ecx
pop ecx
test eax, eax
jne 0x405093
mov dword [0x424040], edi
cmp dword [0x424040], edi
jge 0x4050c6
mov dword [0x424040], edi
cmp ebx, edi
je 0x4050d3
push str.true
push ebx
call fcn.0041b509
pop ecx
pop ecx
test eax, eax
jne 0x4050c0
mov dword [0x424040], 1
cmp dword [0x424040], edi
je 0x4050d3
push str.preloadD3D
call fcn.00404ebd
pop ecx
pop ebx
mov esi, dword [ebp - 8]
cmp esi, edi
je 0x4050f8
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405101
push dword [ebp + 0x14]
call dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [0x4254a0], edi
pop edi
pop esi
je 0x405110
call fcn.004044f5
mov eax, dword [ebp - 4]
leave
ret
Function at 0x4052a8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x10
pop edi
call fcn.00405115
push 8
mov esi, eax
call fcn.00403987
mov dword [esp], 0x4254c0
push dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4052ef
push ebx
call fcn.004039ef
pop ecx
call fcn.00405139
xor eax, eax
jmp 0x4053e9
mov dword [ebx], eax
mov dword [ebx + 4], 0x4254ec
mov edi, dword [ebx + 4]
test edi, edi
je 0x405305
and dword [ebx + 4], 0
jmp 0x40531e
push 0x4254c0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0x4254ec
test edi, edi
je 0x4053cf
push edi
call fcn.004091b0
pop ecx
cmp eax, 4
jl 0x4052f8
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x4052f8
add eax, 0xfffffffd
push 0x41d9dc
push eax
mov dword [ebp - 4], eax
call fcn.00409240
pop ecx
pop ecx
test eax, eax
je 0x405364
push 0x41d9d8
push dword [ebp - 4]
call fcn.00409240
pop ecx
pop ecx
test eax, eax
jne 0x4052f8
push 0x3b
push edi
call fcn.0040ae90
pop ecx
pop ecx
test eax, eax
jne 0x4052f8
push dword [ebp + 8]
call fcn.004091b0
push edi
mov ebx, eax
call fcn.004091b0
mov dword [ebp - 4], eax
add eax, ebx
push eax
call fcn.00403987
lea ecx, [ebx - 1]
push ecx
push dword [ebp + 8]
mov dword [ebp - 8], eax
push eax
call fcn.00409360
mov eax, dword [ebp - 4]
inc eax
push eax
push edi
mov edi, dword [ebp - 8]
lea eax, [edi + ebx - 1]
push eax
call fcn.00409360
mov ecx, dword [esi + 4]
add esp, 0x24
inc ecx
call fcn.0040516b
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x4052f8
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebx + 4]
call fcn.004039ef
push ebx
call fcn.004039ef
pop ecx
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40561d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp dword [esi + 4], 0xffffffff
push ebx
push edi
je 0x40574b
cmp dword [esi], 0xffffffff
je 0x40574b
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push dword [ebp + 8]
call fcn.0040b1d0
add esp, 0x10
test edx, edx
jg 0x40565d
jl 0x40574b
test eax, eax
jb 0x40574b
mov eax, dword [esi + 4]
inc eax
push eax
call fcn.0040a177
mov ebx, eax
pop ecx
test ebx, ebx
je 0x40574b
mov edi, dword [esi + 4]
push edi
push ebx
push dword [ebp + 8]
call fcn.004174ab
add esp, 0xc
cmp eax, edi
jne 0x405744
mov eax, dword [esi + 0x10]
xor ecx, ecx
cmp eax, ecx
jne 0x4056a9
mov eax, dword [ebp + 0xc]
mov byte [edi + ebx], cl
cmp eax, ecx
je 0x4056a2
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov eax, ebx
jmp 0x40574d
cmp eax, 8
jne 0x405744
push 0x38
push str.1.2.11
lea eax, [ebp - 0x3c]
push 0xfffffffffffffff1
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edi
call fcn.0040679e
add esp, 0x10
test eax, eax
js 0x405744
mov edi, dword [esi]
lea eax, [edi + 1]
push eax
call fcn.0040a177
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x405744
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push 1
push eax
mov dword [ebp - 0x2c], edi
call fcn.00406903
pop ecx
pop ecx
push ebx
test eax, eax
jns 0x405715
call fcn.00408f24
push dword [ebp - 4]
call fcn.00408f24
pop ecx
jmp 0x40574a
mov eax, dword [esi]
mov edi, dword [ebp - 4]
mov byte [edi + eax], 0
call fcn.00408f24
lea eax, [ebp - 0x3c]
push eax
call fcn.00407c5b
pop ecx
pop ecx
test eax, eax
jns 0x405735
push edi
jmp 0x405745
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x405740
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, edi
jmp 0x40574d
push ebx
call fcn.00408f24
pop ecx
xor eax, eax
pop edi
pop ebx
leave
ret

Function at 0x4057c4
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
push edi
sub eax, 0x14
push 0
sbb ecx, 0
push ecx
push eax
push dword [esp + 0x18]
call fcn.0040b1d0
mov edi, edx
add esp, 0x10
mov ebx, eax
test edi, edi
jg 0x4057f2
jl 0x405830
test ebx, ebx
jb 0x405830
push 0x14
push esi
push dword [esp + 0x14]
call fcn.004174ab
add esp, 0xc
test eax, eax
js 0x405830
movzx eax, byte [esi + 3]
movzx ecx, byte [esi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi]
shl eax, 8
or eax, ecx
cmp eax, 0x7064b50
jne 0x405830
mov eax, ebx
mov edx, edi
jmp 0x405835
or eax, 0xffffffff
or edx, eax
pop edi
pop ebx
ret