joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ade8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x41ae08
push ebx
push ebx
push ebx
push 2
call fcn.0041d087
xor al, al
jmp 0x41aec5
push esi
call fcn.0041ad55
or dword [edi + 8], 0xffffffff
or dword [edi + 4], 0xffffffff
push 2
push ebx
push dword [ebp + 8]
call fcn.004e3628
push dword [ebp + 8]
call fcn.004e3539
push ebx
push ebx
push dword [ebp + 8]
mov esi, eax
mov dword [ebp - 4], esi
call fcn.004e3628
add esp, 0x1c
cmp esi, ebx
jg 0x41ae46
push ebx
push ebx
push ebx
push 0xc
jmp 0x41ae73
inc esi
push esi
call fcn.004dc6d3
push dword [ebp + 8]
mov esi, eax
push 1
push dword [ebp - 4]
mov byte [esi], bl
push esi
call fcn.004df7c7
add esp, 0x14
cmp eax, 1
je 0x41ae7e
push esi
call fcn.004de5b0
pop ecx
push ebx
push ebx
push ebx
push 2
mov ecx, edi
call fcn.0041d087
xor al, al
jmp 0x41aec4
mov edx, dword [ebp - 4]
mov byte [esi + edx], bl
mov ecx, esi
mov eax, esi
cmp byte [esi], bl
je 0x41aea7
mov dl, byte [ecx]
cmp dl, 0xd
jne 0x41ae9f
mov byte [eax], 0xa
inc eax
inc ecx
cmp byte [ecx], 0xa
jne 0x41aea3
jmp 0x41aea2
mov byte [eax], dl
inc eax
inc ecx
cmp byte [ecx], bl
jne 0x41ae8c
push dword [ebp + 0xc]
mov byte [eax], bl
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 8]
push esi
call fcn.004de5b0
xor eax, eax
cmp byte [edi + 0x44], bl
pop ecx
sete al
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x41efd4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x41efe2
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x41f09d
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5113c0]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5113c0]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5113c0]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5113c0]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5113c0]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5113c0]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5113c0]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5113c0]
add edx, 8
sub edi, 8
dec esi
jne 0x41f000
pop ebx
test edi, edi
je 0x41f0b6
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x5113c0]
inc edx
dec edi
jne 0x41f0a1
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x41f0bc
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x5113c0]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x5113c0]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x41f583
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x41f5b7
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41f5b2
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x41f5df
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x41f5c8
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004ddd50
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x420409
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x547240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x42043d
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42043d
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx ecx, word [esi]
test cx, cx
je 0x4204e7
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x420459
cmp cx, 0x5c
jne 0x42045b
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x42044d
cmp eax, esi
je 0x42049b
sub eax, esi
push edi
sar eax, 1
lea edi, [eax + eax]
push edi
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004ddd50
xor eax, eax
mov word [ebp + edi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push ebx
call fcn.00420409
add esp, 0x14
pop edi
xor eax, eax
mov word [ebp - 0x20c], ax
test ebx, ebx
je 0x4204b7
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004e081c
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004e07eb
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4204e7
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004dea60
leave
ret
Function at 0x421a8e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x421b39
cmp dword [esi + 4], 0xffffffff
jne 0x421b39
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.004df380
movzx eax, word [esi + eax*2 + 0x242]
pop ecx
cmp eax, 0x5c
je 0x421ae0
cmp eax, 0x2f
je 0x421ae0
push 0x50bac0
push edi
call fcn.004e07eb
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x421b02
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x421b02
mov eax, 0x2000000
jmp 0x421b3e
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041f3a8
add esp, 0x10
test eax, eax
jne 0x421b20
mov eax, dword [ebp + 0x10]
jmp 0x421b3e
push eax
call fcn.00421563
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x421b3e
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x423af3
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x547240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push 0x511ec8
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x423b75
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
cmp eax, ecx
jle 0x423b5b
cmp dword [ebp - 0x14], edi
je 0x423b75
mov ecx, dword [esi]
mov eax, ecx
sub eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
mov edx, eax
sub edx, ecx
add dword [esi + 8], edx
mov dword [esi], eax
jmp 0x423b75
cmp dword [ebp - 0x10], edi
je 0x423b75
mov ecx, dword [esi + 4]
mov eax, ecx
sub eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
mov edx, eax
sub edx, ecx
add dword [esi + 0xc], edx
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004dea60
leave
ret 4

Function at 0x425beb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x547240]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x54c17c]
push 0xf0
push eax
push esi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x425d6d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x425d6d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x425d6d
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x425d6b
mov ecx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov dword [ebp - 0x114], ecx
mov ecx, 0x403
add esi, 8
cmp cx, ax
jne 0x425ce0
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
call fcn.00424bdb
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x110]
push 0
push 0x143
push edi
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x425cc0
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
cmp dword [ebp - 0x108], eax
je 0x425d58
push dword [ebp - 0x108]
call fcn.004de4aa
pop ecx
jmp 0x425d58
mov ecx, 0x1234
cmp cx, ax
jne 0x425d58
or dword [ebp - 0x134], 0xffffffff
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x108], eax
call fcn.00424bdb
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x425d32
push eax
call fcn.004de4aa
pop ecx
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x110]
push 0
push 0x40b
push edi
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x425d58
and dword [ebp - 0x10c], 0
add esi, dword [ebp - 0x114]
cmp dword [ebp - 0x10c], 0
jne 0x425c57
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10c]
xor ecx, ebp
pop esi
call fcn.004dea60
leave
ret 4
Function at 0x42b59b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
mov esi, ecx
lea ecx, [esi + 0x28]
mov dword [esi + 0x24], eax
call fcn.00426767
push dword [ebp + 0x10]
lea ecx, [esi + 0x2c]
call fcn.00426767
push dword [ebp + 0x14]
lea ecx, [esi + 0x30]
call fcn.00426767
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], ecx
test eax, eax
jne 0x42b5f4
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esi + 4]
call fcn.0042669e
push 0xfffffffffffffff0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 0x20

Function at 0x42ba51
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x503b26
call fcn.004dea6f
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0xf4], esi
jne 0x42bb02
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push esi
call edi
mov dword [ebx + 0xf4], eax
cmp eax, esi
jne 0x42bb02
push 0x5471fc
lea ecx, [ebp - 0x10]
call fcn.004232b2
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.004234cd
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0042322f
mov esi, str.winhlp32.exe
push esi
call fcn.004df380
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00425d82
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42baf0
push 0x6a
push esi
call edi
test eax, eax
je 0x42baf0
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0xf4], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00422d08
call fcn.004deb47
ret
Function at 0x42eb85
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
mov esi, ecx
lea ecx, [esi + 0x94]
mov dword [esi + 0x90], eax
call fcn.00426767
push dword [ebp + 0x10]
lea ecx, [esi + 0x98]
call fcn.00426767
push dword [ebp + 0x14]
lea ecx, [esi + 0x9c]
call fcn.00426767
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0xa0], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0xa8], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esi + 0xa4], eax
mov dword [esi + 0xac], ecx
test eax, eax
jne 0x42ebf6
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esi + 4]
call fcn.0042e2cc
push 0xfffffffffffffff0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 0x20

Function at 0x430c4c
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
test edi, edi
je 0x430c58
lea eax, [edi + 0x58]
jmp 0x430c5a
xor eax, eax
push esi
push eax
push 0
push 0x23a
lea ecx, [edi + 4]
call fcn.004528e3
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 4]
and dword [edi + 0x80], 0
lea ecx, [edi + 4]
call dword [eax + 0x18]
push 1
push str.about:blank
lea ecx, [edi + 4]
call fcn.004527c4
pop esi
test eax, eax
jns 0x430ca3
push 8
mov ecx, edi
call fcn.00425796
xor eax, eax
pop edi
ret 0x10

Function at 0x431632
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xc
mov eax, 0x503f2d
call fcn.004dea6f
mov esi, ecx
call fcn.00430e60
test eax, eax
je 0x431650
xor eax, eax
jmp 0x431718
push 0xe4
call fcn.004de4e4
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x43167f
cmp esi, ebx
je 0x431675
lea eax, [esi + 0xe0]
jmp 0x431677
xor eax, eax
push eax
call fcn.0043086b
jmp 0x431681
xor eax, eax
or dword [ebp - 4], 0xffffffff
push ebx
push ebx
push ebx
push ebx
push 0x50c088
push str.about:blank
push str.Default
mov dword [esi + 0x170], eax
mov edx, dword [eax]
push 2
mov ecx, eax
call dword [edx]
cmp dword [esi + 0x16c], ebx
jne 0x4316c5
push 0x247
push dword [0x54c17c]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esi + 0x16c], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x431705
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push ecx
push eax
push str.init_mouse_pos_x:_d_y:_d
push str.CWebBalloonDlg::InitMinisiteState
push 0x46b
push str.d:_fun_pow_4_20190808coding_supportminisite_srcui_balloonwebballoon.h
push 4
mov dword [esi + 0x174], eax
mov dword [esi + 0x178], ecx
call fcn.004081cf
add esp, 0x1c
push ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
inc ebx
cmp ebx, 0x100
jl 0x431705
xor eax, eax
inc eax
call fcn.004deb47
ret
Function at 0x43299c
Capabilities:
Create process on windows

Disassembly:
push 0x38
mov eax, 0x503ffb
call fcn.004dead8
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x34], eax
call fcn.004df380
xor ecx, ecx
push 2
add eax, eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004dc6d3
push esi
mov dword [ebp - 0x30], eax
call fcn.004df380
shl eax, 2
push eax
xor ebx, ebx
push ebx
push dword [ebp - 0x30]
call fcn.004de430
add esp, 0x18
xor edx, edx
cmp word [esi], bx
je 0x432a2b
mov ecx, dword [ebp - 0x30]
mov eax, esi
movzx eax, word [eax]
cmp eax, 0x3f
jne 0x432a0b
push 0x2a
pop eax
mov word [ecx], ax
mov word [ecx + 2], ax
add ecx, 4
jmp 0x432a22
cmp eax, 0x26
jne 0x432a14
push 0x2a
jmp 0x432a1b
cmp eax, 0x3d
jne 0x432a1c
push 0x24
pop eax
mov word [ecx], ax
add ecx, 2
inc edx
lea eax, [esi + edx*2]
cmp word [eax], bx
jne 0x4329f4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
push 0x515080
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00406d28
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0040efe3
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00406991
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00406d28
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040efe3
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00406991
push str.pop_click
lea ecx, [ebp - 0x2c]
call fcn.00406d28
push 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 3
call fcn.0044c815
mov ecx, eax
call fcn.0044caab
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00406991
push dword [ebp - 0x30]
call fcn.004de5b0
pop ecx
mov ecx, dword [ebp - 0x34]
or eax, 0xffffffff
mov word [ecx], ax
call fcn.0045f507
mov ecx, eax
call fcn.0045fc8d
push 1
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.0045f507
mov ecx, eax
call fcn.0045fc13
lea ecx, [ebp - 0x44]
call fcn.0040e547
xor eax, eax
call fcn.004deb5b
ret 8

Function at 0x4343b3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x547240]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
lea edx, [ebp - 0x210]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x434429
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004dea60
leave
ret 0xc
Function at 0x438197
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x547240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x424], edi
call fcn.00438074
push edi
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x418], eax
cmp eax, 0x20
ja 0x4382e5
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x414]
push eax
push str..htm
mov edi, SysReAllocStringLen
push edi
call fcn.004343b3
test eax, eax
jne 0x4382e5
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
lea eax, [ebp - 0x414]
push eax
call esi
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x414]
push eax
push eax
push edi
call fcn.004343b3
test eax, eax
jne 0x4382e5
lea eax, [ebp - 0x414]
push str.__1_
push eax
call fcn.004e0fae
mov edi, eax
pop ecx
cmp edi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
pop ecx
jne 0x43828b
lea eax, [ebp - 0x414]
push 0x515484
push eax
call fcn.004e0fae
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x43828b
lea eax, [ebp - 0x414]
push eax
call ebx
lea edi, [ebp + eax*2 - 0x416]
jmp 0x438290
xor eax, eax
mov word [edi], ax
push 0x513fdc
push edi
call esi
push dword [ebp - 0x420]
push edi
call esi
lea eax, [ebp - 0x414]
push eax
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x4382b6
xor eax, eax
jmp 0x4382d2
lea esi, [eax + eax]
mov eax, esi
call fcn.004df3a0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.0040663a
push dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
lea esp, [ebp - 0x430]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dea60
leave
ret 8
Function at 0x43a8ee
Capabilities:
Enumerate gui resources

Disassembly:
push 0x20
mov eax, 0x5048cf
call fcn.004dea6f
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x2c]
push eax
push 0x44eefd
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x1c]
push eax
push 0x42b6af
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 2
cmp eax, esi
jbe 0x43a996
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x2c]
sar ecx, 4
test ecx, ecx
je 0x43a996
xor edi, edi
cmp eax, esi
jbe 0x43a996
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [eax + edi*4]
push dword [eax]
mov ecx, ebx
call fcn.00437c5c
test eax, eax
jne 0x43a984
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
inc edi
sar eax, 2
cmp edi, eax
jb 0x43a957
jmp 0x43a996
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x43a993
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + edi*4]
mov dword [eax], ecx
xor esi, esi
inc esi
lea ecx, [ebp - 0x1c]
call fcn.0042245e
lea ecx, [ebp - 0x2c]
call fcn.0042245e
mov eax, esi
call fcn.004deb47
ret 0xc
Function at 0x43fdd5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43fdef
test al, 0x10
jne 0x43fdef
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43fdf3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43fe0d
test al, 0x10
je 0x43fe0d
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret