joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100628f0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x10062993
test eax, eax
jbe 0x10062993
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x10062993
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x1006293e
xor esi, esi
jmp 0x10062944
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x1006296f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.100648e0
add esi, eax
push esi
mov ebx, esi
call fcn.100648e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x10062950
pop ebp
test edi, edi
pop edi
jne 0x10062993
test ebx, ebx
je 0x10062993
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.10067030
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x10062ad0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10062bed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10062bed
mov eax, dword [esi + 0x3c]
push eax
call fcn.1007799a
mov esi, eax
test esi, esi
je 0x10062bed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x10062bed
mov ecx, esi
call fcn.10062a40
cmp edi, eax
jge 0x10062bed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x10062b73
mov dword [esp + 0x34], 1
jmp 0x10062bce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x10062bed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.10062000
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x1007833d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10078375
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100763c7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1007639f
jmp 0x10078381
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10079a2f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10079a71
call fcn.1007f603
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10079a71
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10079a68
xor eax, eax
jmp 0x10079a79
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10079a7f
pop edi
pop esi
pop ebx
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
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
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x117b7691
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4464164b
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0xc0]
mov dword [esi], 0x473d48
or al, 8
mov byte [esi + 0xc0], al
call fcn.0040a120
mov ecx, esi
pop esi
jmp fcn.0040a110

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

Disassembly:
mov dword [ecx], 0x475278
jmp fcn.0040afc0

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

Disassembly:
push esi
mov esi, ecx
push esi
mov ecx, 0x48c0bc
mov dword [esi], 0x4756f0
call fcn.0041b240
test eax, eax
je 0x40afe3
push esi
mov ecx, 0x48c0bc
call fcn.0041b340
mov eax, dword [esi + 0xc4]
shr eax, 3
test al, 1
je 0x40b004
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x40b004
mov ecx, dword [eax + 0xfc]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, esi
pop esi
jmp fcn.00413a10

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

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov cl, byte [ebx + 0xc0]
mov esi, dword [ebx + 0x2c]
or cl, 8
mov dword [ebx], 0x473850
test esi, esi
mov byte [ebx + 0xc0], cl
je 0x40bbf8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov edi, eax
cmp edi, 0x48c308
je 0x40bbe6
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x40bbc6
push 0x48c308
call fcn.00403c60
test al, al
jne 0x40bbe6
mov edi, dword [edi + 0x18]
test edi, edi
je 0x40bbdd
push 0x48c308
mov ecx, edi
call fcn.00403c60
test al, al
jne 0x40bbe6
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x40bba1
jmp 0x40bbf8
cmp dword [esi + 0x144], ebx
jne 0x40bbf8
mov dword [esi + 0x144], 0
mov ecx, ebx
call fcn.00412020
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x40bc0f
mov edx, dword [ecx]
push ebx
call dword [edx + 0xc8]
mov eax, dword [ebx + 0xfc]
test eax, eax
je 0x40bc29
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
call fcn.0040e1c0
add esp, 4
mov ecx, dword [ebx + 0x114]
test ecx, ecx
je 0x40bc3a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
pop edi
mov ecx, ebx
pop esi
pop ebx
jmp fcn.00411e70
Function at 0x40f6f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
lea ecx, [esp + 8]
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x50]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
sub edx, esi
mov esi, dword [esp + 0x14]
sub eax, ecx
push 0x12
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x20], edx
mov edx, eax
mov ecx, eax
shr edx, 3
shr ecx, 2
and dl, 1
and cl, 1
mov byte [esi + 0x2b], dl
mov byte [esi + 0x2c], cl
mov edx, eax
mov cl, al
shr edx, 4
shr eax, 1
and cl, 1
and dl, 1
and al, 1
mov byte [esi + 0x28], cl
mov byte [esi + 0x29], dl
mov byte [esi + 0x2a], al
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl al
mov byte [esi + 0x2d], al
mov ecx, dword [0x48bf9c]
mov dword [esi + 0x10], ecx
mov dword [esi + 8], edi
mov edx, dword [edi + 0x28]
pop edi
mov dword [esi + 0x14], edx
pop esi
add esp, 8
ret 0x10

Function at 0x40fa80
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x5c]
push esi
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00406bc0
mov ecx, dword [esi + 0x28]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov dword [esp + 0x38], ecx
call edi
test ax, ax
setl dl
push 0x11
mov byte [esp + 0x51], dl
call edi
test ax, ax
setl al
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x6c]
mov ecx, eax
mov dword [esp + 0x58], eax
shr ecx, 0x10
mov eax, dword [0x48bf9c]
and ecx, 0x2000
cmp ecx, 0x2000
mov ecx, dword [esp + 0x68]
sete dl
mov dword [esp + 0x48], ecx
mov byte [esp + 0x4e], dl
mov edx, dword [esp + 0x70]
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0xfc]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x10]
sub ecx, edx
sub eax, esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x44], eax
call fcn.00406c00
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x473d04
call fcn.00409a70
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret 0x14

Function at 0x4109a0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov al, byte [esp + 4]
test al, al
je 0x4109d3
mov dword [0x48c240], 0x4109f0
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call fcn.004265d0
push eax
mov eax, dword [0x48c240]
push eax
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x48c23c], eax
ret
mov ecx, dword [0x48c23c]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
ret
Function at 0x410b20
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov dword [esi], 2
call edi
test ax, ax
jge 0x410b41
mov eax, dword [esi]
or al, 8
mov dword [esi], eax
push 0x10
call edi
test ax, ax
jge 0x410b50
mov eax, dword [esi]
or al, 4
mov dword [esi], eax
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edx, dword [esp + 0x10]
movsx ecx, ax
shr eax, 0x10
mov dword [edx], ecx
movsx ecx, ax
mov eax, dword [esp + 0x14]
push eax
push edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx]
call dword [esi + 0x170]
pop edi
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
push esi
mov ecx, 0x48c5f4
mov dword [esi], 0x473a48
call fcn.0041b340
push esi
mov ecx, 0x48c610
call fcn.0041b340
mov eax, dword [esi + 0x98]
test eax, eax
je 0x411ea2
push eax
call fcn.00464fa0
add esp, 4
mov ecx, esi
call fcn.00412a80
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x411ed6
push eax
mov ecx, esi
call fcn.004129b0
mov ecx, dword [esi + 0xb0]
test ecx, ecx
je 0x411ecc
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0xb0], 0
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x411ee6
mov edx, dword [ecx]
push esi
call dword [edx + 0x3c]
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x411ef7
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x411f17
mov edx, dword [ecx]
call dword [edx + 0xb0]
cmp eax, esi
jne 0x411f17
mov ecx, dword [esi + 0x2c]
push 0
mov eax, dword [ecx]
call dword [eax + 0xb4]
lea ecx, [esi + 0xd4]
call fcn.00418cc0
mov ecx, dword [esi + 0xcc]
sub ecx, 0xc
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x411f3e
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x411f3e
call fcn.00416980
lea ecx, [esi + 0xa8]
call fcn.00418cc0
lea ecx, [esi + 0x9c]
call fcn.00418cc0
lea ecx, [esi + 0x88]
call fcn.00418cc0
lea ecx, [esi + 0x78]
call fcn.00418cc0
lea ecx, [esi + 0x6c]
call fcn.00419f30
lea ecx, [esi + 0x60]
call fcn.00418cc0
lea ecx, [esi + 0x30]
call fcn.0041afd0
mov ecx, esi
pop esi
jmp fcn.00406d70

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

Disassembly:
push esi
mov esi, ecx
push edi
mov dword [esi], 0x4777b0
mov ecx, dword [0x48bfd8]
test ecx, ecx
je 0x413a3a
mov eax, dword [ecx]
call dword [eax + 0x60]
cmp eax, esi
jne 0x413a3a
mov ecx, dword [0x48bfd8]
mov dword [ecx + 0x3c], 0
push ebx
mov ecx, esi
call fcn.00413ab0
push esi
mov ecx, 0x48c610
mov bl, al
call fcn.0041b340
test bl, bl
pop ebx
je 0x413a5f
mov ecx, dword [0x48bfd8]
mov edx, dword [ecx]
call dword [edx + 0x44]
lea edi, [esi + 0x118]
mov ecx, edi
call fcn.00421720
mov ecx, edi
call fcn.004215e0
mov ecx, esi
pop edi
pop esi
jmp fcn.0040bb80
Function at 0x414430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x473fe8
mov dword [esi + 0x128], 0x473fa8
call fcn.00415840
mov ecx, dword [esi + 0x188]
test ecx, ecx
je 0x414459
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esi + 0x18c]
test ecx, ecx
je 0x41446a
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x41447b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push edi
mov edi, dword [esi + 0x1c4]
test edi, edi
je 0x414496
mov ecx, edi
call fcn.00414140
push edi
call fcn.00464fa0
add esp, 4
mov ecx, dword [esi + 0x1d0]
pop edi
test ecx, ecx
je 0x4144a8
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [esi + 0x1a4]
sub ecx, 0xc
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x4144c4
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x4144c4
call fcn.00416980
mov ecx, dword [esi + 0x198]
sub ecx, 0xc
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x4144e0
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x4144e0
call fcn.00416980
mov ecx, dword [esi + 0x194]
sub ecx, 0xc
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x4144fc
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x4144fc
call fcn.00416980
mov ecx, dword [esi + 0x190]
sub ecx, 0xc
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x414518
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x414518
call fcn.00416980
mov ecx, esi
pop esi
jmp fcn.0041d0f0

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

Disassembly:
mov dword [ecx], 0x474680
jmp fcn.0040bb80

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

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x128]
mov dword [esi], 0x474480
mov dword [ecx], 0x474444
call fcn.0041bdc0
mov ecx, esi
pop esi
jmp fcn.0041b950

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

Disassembly:
push esi
mov esi, ecx
push 0x48c518
mov dword [esi], 0x474af0
call fcn.0040bfb0
lea ecx, [esi + 0x164]
call fcn.00418cc0
lea ecx, [esi + 0x158]
call fcn.00418cc0
lea ecx, [esi + 0x14c]
call fcn.00419f30
lea ecx, [esi + 0x138]
call fcn.00420100
lea ecx, [esi + 0x124]
call fcn.004181e0
mov ecx, esi
pop esi
jmp fcn.004202c0

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

Disassembly:
mov dword [ecx], 0x4748d8
jmp fcn.004202c0

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

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x477d70
call fcn.004202f0
mov ecx, esi
call fcn.00420580
mov ecx, esi
pop esi
jmp fcn.0040bb80

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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x148]
mov dword [esi], 0x478068
test eax, eax
je 0x420fae
mov ecx, dword [esi + 0x134]
test ecx, ecx
jne 0x420fae
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [esi + 0x148], 0
lea ecx, [esi + 0x14c]
call fcn.00418cc0
lea ecx, [esi + 0x138]
call fcn.004181e0
mov ecx, esi
pop esi
jmp fcn.00432e60
Function at 0x42a590
Capabilities:
Get common file path

Disassembly:
sub esp, 0xc
mov eax, dword [0x481810]
mov edx, dword [esp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], eax
mov dword [esp + 8], eax
push 0
lea eax, [esp + 0xc]
push 0
lea ecx, [esp + 8]
push eax
push ecx
push edx
call fcn.0042be30
mov eax, dword [esp + 0x14]
add esp, 0x14
mov ecx, dword [eax - 8]
test ecx, ecx
lea ecx, [esp]
jne 0x42a605
push 0x105
call fcn.00416cd0
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea ecx, [esp]
call fcn.00416d00
mov ecx, dword [esp]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42a616
push 0x2e
lea ecx, [esp + 4]
call fcn.00416e40
jmp 0x42a616
push 1
push 0x4824b0
push 0x4816d4
call fcn.004176c0
push ebx
push 0x105
lea ecx, [esp + 0xc]
call fcn.00416cd0
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
test eax, eax
lea ecx, [esp + 8]
sete bl
call fcn.00416d00
test bl, bl
pop ebx
je 0x42a656
push 0
lea ecx, [esp + 8]
call fcn.00417970
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42a670
push str.Failed_to_create_a_temporary_file_name
call fcn.00425730
add esp, 4
jmp 0x42a6a6
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42a6a6
cmp dword [ecx], 0xffffffff
jne 0x42a6a6
push 0x180
push 1
push eax
call fcn.00455cd0
test al, al
jne 0x42a6a6
push str.Failed_to_open_temporary_file.
call fcn.00425460
add esp, 4
lea ecx, [esp + 4]
push 0
call fcn.00417970
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x14]
mov dword [esi], 0
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42a6c6
mov ecx, dword [0x481810]
mov dword [esi], ecx
jmp 0x42a6d4
mov dword [esi], ecx
mov eax, dword [ecx - 0xc]
cmp eax, 0xffffffff
je 0x42a6d4
inc eax
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 0xc]
lea ecx, [edx - 0xc]
cmp eax, 0xffffffff
je 0x42a6ef
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x42a6ef
call fcn.00416980
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 0xffffffff
je 0x42a70a
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x42a70a
call fcn.00416980
mov ecx, dword [esp + 8]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x42a724
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x42a724
call fcn.00416980
mov eax, esi
pop esi
add esp, 0xc
ret

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

Disassembly:
push esi
mov esi, ecx
push 0
mov cl, byte [esi + 0xc0]
mov dword [esi], 0x478cf0
or cl, 8
mov byte [esi + 0xc0], cl
mov ecx, esi
call fcn.0042c7d0
mov dword [esi], 0x478f20
mov ecx, esi
pop esi
jmp fcn.0040afc0

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

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x118]
mov dword [esi], 0x479208
call fcn.0041afd0
mov ecx, esi
pop esi
jmp fcn.0040bb80

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

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0xc0]
lea ecx, [esi + 0x118]
or al, 8
mov dword [esi], 0x479460
mov byte [esi + 0xc0], al
call fcn.00420100
mov ecx, esi
pop esi
jmp fcn.0043f3f0
Function at 0x4342a0
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x481810]
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], eax
test esi, esi
je 0x4342db
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
inc eax
lea ecx, [esp + 4]
push eax
push eax
call fcn.00416cd0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 4]
call fcn.00416d00
mov eax, dword [esp + 4]
mov esi, dword [esp + 0xc]
mov dword [esi], 0
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4342f6
mov ecx, dword [0x481810]
mov dword [esi], ecx
jmp 0x434308
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x434308
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 0xffffffff
je 0x43431f
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x43431f
call fcn.00416980
mov eax, esi
pop esi
pop ecx
ret

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

Disassembly:
mov dword [ecx], 0x476c58
jmp fcn.00433560

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

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x15c]
mov dword [esi], 0x476308
test ecx, ecx
je 0x4365e4
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x15c], 0
mov ecx, esi
pop esi
jmp fcn.0043e230
Function at 0x43b9b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push 0
push esi
mov ecx, 0x48f8a4
mov dword [esi], 0x47a018
call fcn.0041fd70
cmp eax, 0xffffffff
je 0x43b9d8
push 1
push eax
mov ecx, 0x48f8a4
call fcn.0041ff60
mov eax, dword [0x48f8a8]
test eax, eax
jne 0x43b9eb
mov ecx, 0x48f8a4
call fcn.0041fd40
mov eax, dword [esi + 0x12c]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, esi
pop esi
jmp fcn.0043f120

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

Disassembly:
mov dword [ecx], 0x477528
mov dword [ecx + 0x124], 0x4774ec
jmp fcn.004411e0

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

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x47a298
mov dword [esi + 0x124], 0x47a260
call fcn.0043daa0
mov ecx, esi
pop esi
jmp fcn.0043d770

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

Disassembly:
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x128]
mov dword [edi], 0x47a4b0
lea ecx, [esi + 0x20]
call fcn.00419f30
lea ecx, [esi + 0x10]
call fcn.00418cc0
mov ecx, esi
call fcn.00418cc0
mov ecx, dword [edi + 0x124]
sub ecx, 0xc
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x43e273
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x43e273
call fcn.00416980
mov ecx, edi
pop edi
pop esi
jmp fcn.00433560

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

Disassembly:
mov dword [ecx], 0x4760f0
jmp fcn.00433560

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

Disassembly:
mov dword [ecx], 0x475ed8
jmp fcn.00433560

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

Disassembly:
mov dword [ecx], 0x479668
jmp fcn.0040bb80

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

Disassembly:
mov dword [ecx], 0x47a790
jmp fcn.00433560

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

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x47a9f8
mov dword [esi + 0x124], 0x47a9c0
call fcn.00440730
mov ecx, esi
pop esi
jmp fcn.0045d480

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

Disassembly:
mov eax, ecx
lea ecx, [eax + 0x124]
mov dword [eax], 0x47ac58
mov dword [ecx], 0x47ac20
call fcn.004410a0
mov ecx, eax
jmp fcn.00433560

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

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44901c
test al, 0x10
jne 0x44901c
mov eax, 1
ret
xor eax, eax
ret