joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430251
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c8294
call fcn.00494248
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x430281
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430281
push dword [esi + 0x10]
mov ecx, esi
call fcn.0043053e
test eax, eax
je 0x4302f3
test byte [esi + 4], 1
jne 0x4302ce
mov eax, dword [0x500af8]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00430307
test eax, eax
jne 0x4302c2
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0043053e
test eax, eax
jne 0x4302c2
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b4041
jmp 0x4302f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b4041
push 0x4ebed8
push dword [esi + 0x128]
call fcn.00494305
pop ecx
test eax, eax
pop ecx
jne 0x4302f7
mov ecx, esi
call fcn.004303a8
test eax, eax
jne 0x4302f7
or byte [esi + 5], 2
xor eax, eax
jmp 0x4302fa
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x43025c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c8294
call fcn.00494248
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x430281
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430281
push dword [esi + 0x10]
mov ecx, esi
call fcn.0043053e
test eax, eax
je 0x4302f3
test byte [esi + 4], 1
jne 0x4302ce
mov eax, dword [0x500af8]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00430307
test eax, eax
jne 0x4302c2
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0043053e
test eax, eax
jne 0x4302c2
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b4041
jmp 0x4302f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b4041
push 0x4ebed8
push dword [esi + 0x128]
call fcn.00494305
pop ecx
test eax, eax
pop ecx
jne 0x4302f7
mov ecx, esi
call fcn.004303a8
test eax, eax
jne 0x4302f7
or byte [esi + 5], 2
xor eax, eax
jmp 0x4302fa
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x430307
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c82a8
call fcn.00494248
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xc]
cmp dword [eax - 8], 0
je 0x430390
test byte [ebx + 4], 1
jne 0x430390
and dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], str..jpg
mov dword [ebp - 0x1c], str..jpeg
mov dword [ebp - 0x18], str..png
mov dword [ebp - 0x14], str..bmp
lea esi, [ebp - 0x20]
push dword [esi]
mov eax, dword [ebx + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041a7ae
add esp, 0xc
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004b4188
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b4041
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4303a4
inc dword [ebp - 0x10]
add esi, 4
cmp dword [ebp - 0x10], 4
jb 0x43034e
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
xor eax, eax
jmp 0x430393

Function at 0x431e11
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c8538
call fcn.00494248
sub esp, 0x4c
push dword [ebp + 8]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431f71
push ebx
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.004b40b5
xor ebx, ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.0042b6c1
push ebx
lea ecx, [ebp - 0x58]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0042b76b
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004b40b5
mov eax, dword [0x500af8]
mov dword [ebp - 0x10], eax
push 0x4fa004
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b4432
lea ecx, [ebp - 0x38]
call fcn.00493536
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004935fb
xor esi, esi
cmp eax, ebx
je 0x431f32
push edi
lea ecx, [ebp - 0x38]
call fcn.00493821
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.004937e4
test eax, eax
jne 0x431f29
lea eax, [ebp + 8]
lea ecx, [ebp - 0x38]
push eax
call fcn.004938f0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004b4188
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004b4041
mov eax, dword [ebp - 0x38]
push 0x10
lea ecx, [ebp - 0x38]
call dword [eax + 0x38]
cmp eax, ebx
je 0x431f05
cmp dword [ebp + 0x10], ebx
je 0x431f29
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00431e11
jmp 0x431f27
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
je 0x431f1c
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.0042b843
test eax, eax
je 0x431f29
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00431bde
add esi, eax
cmp edi, ebx
jne 0x431ea3
pop edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00493575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b4041
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004b4041
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0042b72f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004b4041
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x431f7f
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c854d
call fcn.00494248
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1e8]
cmp eax, edi
jne 0x431fa4
call fcn.0043203a
push 1
pop eax
jmp 0x43201c
push 0x74
call fcn.004b016a
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x431fc0
push esi
call fcn.004305f5
jmp 0x431fc2
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 0x1f8], eax
je 0x431ff6
push edi
push edi
push 4
mov ecx, eax
call fcn.004af619
test eax, eax
jne 0x431ffb
mov ecx, dword [esi + 0x1f8]
cmp ecx, edi
je 0x431ff0
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1f8], edi
or eax, 0xffffffff
jmp 0x43201c
mov eax, dword [esi + 0x1f8]
push edi
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x1f8]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x43203a
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c8561
call fcn.00494248
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x168]
test eax, eax
jne 0x432059
push 1
pop eax
jmp 0x4320bf
xor ebx, ebx
lea esi, [edi + 0x1fc]
push 0x78
call fcn.004b016a
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x43207f
push edi
push ebx
mov ecx, eax
call fcn.004306af
jmp 0x432081
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x4320ea
push 0
push 0
push 4
mov ecx, eax
call fcn.004af619
test eax, eax
je 0x4320ce
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc ebx
add esi, 4
cmp ebx, 2
jl 0x432061
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov ecx, dword [edi + ebx*4 + 0x1fc]
lea esi, [edi + ebx*4 + 0x1fc]
test ecx, ecx
je 0x4320e7
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi], 0
or eax, 0xffffffff
jmp 0x4320bf

Function at 0x43239a
Capabilities:
Check if file exists

Disassembly:
push dword [0x5051f0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4323bf
push 0
push 0x414
push dword [0x5051f0]
call fcn.0041a5b4
add esp, 0xc
ret
Function at 0x4373e3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c8f18
call fcn.00494248
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x50514c
push str._sMediaProbe.exe
push edi
call fcn.004accf7
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x50514c]
call esi
test eax, eax
jne 0x437427
push str.MediaProbe.exe
mov ecx, edi
call fcn.004b41d8
push ebx
mov edi, 0x505150
push str._sMediaEncode.exe
push edi
call fcn.004accf7
add esp, 0xc
push dword [0x505150]
call esi
test eax, eax
jne 0x437453
push str.MediaEncode.exe
mov ecx, edi
call fcn.004b41d8
push dword [0x505150]
lea eax, [ebp - 0x14]
push eax
call fcn.0041a6a3
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Presets
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b42e6
push eax
mov ecx, 0x505154
mov byte [ebp - 4], 1
call fcn.004b4188
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b4041
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b4041
push ebx
mov edi, 0x505158
push str._sMediaPlay.exe
push edi
call fcn.004accf7
add esp, 0xc
push dword [0x505158]
call esi
test eax, eax
jne 0x4374ca
push str.MediaPlay.exe
mov ecx, edi
call fcn.004b41d8
cmp dword [0x50515c], 0
jne 0x4375ce
mov eax, dword [0x500af8]
mov dword [ebp + 8], eax
push 2
lea eax, [ebp + 8]
pop edi
push ebx
push str._s_avcodec_60.dll
push eax
mov dword [ebp - 4], edi
call fcn.004accf7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43750a
mov dword [0x50515c], 6
cmp dword [0x50515c], 0
jne 0x4375c2
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004accf7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43753c
mov dword [0x50515c], 5
cmp dword [0x50515c], 0
jne 0x4375c2
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004accf7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43756a
mov dword [0x50515c], 4
cmp dword [0x50515c], 0
jne 0x4375c2
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004accf7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x437598
mov dword [0x50515c], 3
cmp dword [0x50515c], 0
jne 0x4375c2
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004accf7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x4375c2
mov dword [0x50515c], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b4041
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x505160], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4375e9
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x505158]
call esi
test eax, eax
je 0x437609
xor eax, eax
push eax
push eax
push eax
push dword [0x505158]
jmp 0x437639
push dword [0x505150]
call esi
test eax, eax
je 0x437622
xor eax, eax
push eax
push eax
push eax
push dword [0x505150]
jmp 0x437639
push dword [0x50514c]
call esi
test eax, eax
je 0x437641
xor eax, eax
push eax
push eax
push eax
push dword [0x50514c]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

Function at 0x4386ae
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x4c9010
call fcn.00494248
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4386ec
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041a6a3
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b4041
lea eax, [ebp - 0x14]
push eax
call fcn.0041c678
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00419bb5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b4041
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004b41d8
push dword [ebp + 0x10]
mov eax, esi
neg eax
push dword [ebp - 0x24]
lea ecx, [esi + 0x68]
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.0043848f
test eax, eax
je 0x438743
mov esi, eax
jmp 0x438778
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push ebx
push dword [ebp - 0x24]
call dword [eax + 0x28]
test eax, eax
je 0x43875d
or esi, 0xffffffff
jmp 0x438778
mov edi, dword [edi]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x2c]
or esi, 0xffffffff
cmp eax, esi
je 0x438778
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00419c22
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4abd10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00494340
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4abddb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4abddb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4abd8e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4abd99
or bh, 8
and edi, 0x8000000
je 0x4abdb4
mov eax, dword [0x508f9c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4abddb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xc7406b5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5e974045
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4725f8
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14
xor eax, eax
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
call fcn.0047271c
mov ebp, eax
mov ebx, 0x62bd38
xor edx, edx
mov eax, dword [ebx + 0x34]
call fcn.0047271c
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0x40]
mov edx, dword [esp + 0xc]
cmp dword [esi], 0
je 0x472663
mov eax, edx
mov dword [esp + 8], edx
call fcn.004727b0
movzx eax, al
mov edx, dword [esp + 8]
cmp al, byte [esi]
je 0x47264e
cmp al, byte [esi + 1]
jne 0x47270a
mov eax, edx
call fcn.004727c8
cmp eax, dword [esi + 4]
je 0x472663
cmp eax, dword [esi + 8]
jne 0x47270a
mov eax, dword [ebx + 0x38]
mov dword [esp + 8], 0
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, eax
mov eax, dword [ebx + 0x3c]
test eax, eax
jbe 0x472697
xor eax, eax
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax]
mov dword [edx + eax], esi
mov edi, dword [ebx + 4]
add eax, edi
mov ecx, dword [ebx + 0x3c]
cmp eax, ecx
jb 0x472682
mov eax, dword [esp + 0x10]
call fcn.004727f0
mov edi, eax
test edi, edi
je 0x47270a
lea esi, [esp + 8]
push esi
mov esi, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x3c]
push eax
push edx
push esi
call edi
mov edx, dword [ebx + 0x24]
add ebp, edx
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebp + 4]
cmp eax, 8
jbe 0x4726e1
push 8
pop eax
mov ecx, dword [ebp + eax]
add ecx, edx
mov dword [esi + eax], ecx
mov ecx, dword [ebx + 4]
add eax, ecx
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
jb 0x4726cc
mov edx, dword [ebx + 0x10]
lea eax, [esp + 8]
push eax
mov dword [esi + 8], edx
push dword [esp + 0xc]
mov ecx, dword [ebx + 0x1c]
push ecx
push esi
call edi
mov edx, dword [esi + 0xc]
add edx, esi
mov eax, dword [ebx + 0x2c]
add edx, eax
mov ebx, dword [ebx + 0x2c]
add esi, ebx
push esi
call edx
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4727f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x14
mov esi, eax
mov dword [esp + 8], edx
test esi, esi
je 0x47283a
mov ebp, dword [esi + 0x3c]
mov edx, dword [ebp + esi + 0x78]
mov dword [esp + 0x10], edx
mov ecx, dword [edx + esi + 0x18]
mov ebp, dword [edx + esi + 0x20]
add ebp, esi
mov dword [esp + 0xc], ecx
test ecx, ecx
jbe 0x47283a
xor ebx, ebx
mov eax, dword [ebp + ebx*4]
add eax, esi
mov edx, dword [esp + 8]
call fcn.00472868
test al, al
jne 0x47283e
inc ebx
cmp ebx, dword [esp + 0xc]
jb 0x472820
xor eax, eax
jmp 0x472858
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + esi + 0x24]
add ecx, esi
mov ebp, dword [edx + esi + 0x1c]
add ebp, esi
movzx ebx, word [ecx + ebx*2]
add esi, dword [ebp + ebx*4]
mov eax, esi
add esp, 0x14
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x4019b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4019d6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401a6a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401a25
cmp eax, 0x40
je 0x401a25
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4019c9
cmp eax, 0x40
je 0x4019c9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x4019c9
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]

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 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 0x40ed30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49815b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048cef5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40edb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048ae07
mov eax, dword [eax]
push 0x4b4c78
push eax
call fcn.0047d054
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048d180
test bl, bl
je 0x40edb2
push 0x4b4c78
lea ecx, [esp + 0xc]
call fcn.0048d510
push 0x4b4c84
lea ecx, [esp + 0xc]
call fcn.0048d510
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40edee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048d180
jmp 0x40eeb9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40ee72
lea edx, [esp + 0x7c]
push 0x4b4c80
push edx
call fcn.0047d054
add esp, 8
test eax, eax
je 0x40ee72
lea eax, [esp + 0x7c]
push 0x4b4c7c
push eax
call fcn.0047d054
add esp, 8
test eax, eax
je 0x40ee72
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ee02
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048d180
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40f6c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40f722
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc