joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41714b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41716f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41718a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4197c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x424f64
call fcn.0040b518
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00421924
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4197ff
call fcn.00421924
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41980d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41981b
or eax, 0xffffffff
jmp 0x419903
mov ecx, esi
call fcn.00419736
mov dword [ebp - 0x14], eax
call fcn.0041a5cc
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x419852
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x419852
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0041a580
push dword [ebp - 0x14]
call fcn.0041a0ce
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004194c3
cmp eax, edi
je 0x4198c5
test byte [esi + 0x24], 0x10
je 0x419893
push 4
mov ecx, esi
pop ebx
call fcn.0041c70f
test ah, 1
je 0x41988b
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0041c0d3
cmp dword [esi + 0x1c], edi
je 0x4198c5
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041c857
jmp 0x4198c5
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4198d9
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4198f2
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4198f2
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00419770
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x41bf81
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 0x41bfc3
call fcn.00421924
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41bfc3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41bfba
xor eax, eax
jmp 0x41bfcb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041bfd1
pop edi
pop esi
pop ebx
ret 4
Function at 0x4220b3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4220e1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4220ff
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00422019
jmp 0x4220ff
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4220ff
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00422019
test edi, edi
mov eax, edi
jne 0x4220e9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x4226d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x422787
mov ecx, 0x435244
call fcn.004221a0
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x422765
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x422743
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x422743
push ebx
push edi
push eax
call fcn.0041d17d
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.0041865e
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc
Function at 0x401082
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x415351
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x4010a5
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x40d1a8
mov eax, 0x460a82
call fcn.0043b314
push ecx
mov eax, dword [0x470ea0]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov ecx, dword [0x470ea0]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 8], ecx
mov ecx, dword [0x470ea0]
mov dword [esi + 0xc], ecx
mov ecx, dword [0x470ea0]
mov dword [esi + 0x10], ecx
mov cl, byte [ebp + 0xb]
mov dword [esi + 0x18], eax
mov byte [esi + 0x14], cl
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov cl, byte [ebp + 0xb]
mov dword [esi + 0x28], eax
mov byte [esi + 0x24], cl
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
push dword [ebp + 8]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
mov dword [esi], 0x4640d0
call fcn.00401253
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 6
call fcn.00401555
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0040223e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x401168
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x41f278
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x4011e5
Capabilities:
Get graphical window text

Disassembly:
jmp 0x412733
mov eax, 0x461054
call fcn.0043b314
sub esp, 0x800
cmp dword [ebp + 8], 0x300
push ebx
mov ebx, ecx
jne 0x4127f1
and word [ebp - 0x80c], 0
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80a]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x486
push dword [ebx + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call esi
lea ecx, [ebp - 0x80c]
push 0x400
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
and word [ebp + eax*2 - 0x80c], 0
lea eax, [ebp - 0x80c]
push eax
lea ecx, [ebp + 8]
call fcn.00401253
and dword [ebp - 4], 0
mov edi, 0x471874
push edi
lea ecx, [ebp + 8]
call fcn.00401087
push edi
lea ecx, [ebp + 8]
call fcn.00402496
mov eax, dword [ebp + 8]
push 1
push dword [ebx + 4]
cmp dword [eax - 8], 0
je 0x4127d8
call esi
push 1
jmp 0x4127dc
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040223e
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x401235
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x421557
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x4013d9
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x425f49
mov eax, 0x462336
call fcn.0043b314
push ecx
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 4], ebx
mov dword [ebp - 0x14], esi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
lea edi, [esi + 0x20]
mov dword [ebp - 4], ebx
mov ecx, edi
call fcn.0040274d
mov dword [edi], 0x46440c
mov dword [esi + 0x24], 0x464060
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], ebx
call int.0040224d
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 2
call fcn.0040282e
mov cl, byte [ebp - 0xd]
lea eax, [esi + 0xa8]
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 4
mov dword [esi + 0xb8], ebx
call fcn.0040204f
push 7
push 3
push 3
lea eax, [esi + 0x30]
push 3
push eax
mov dword [esi], 0x4643fc
mov dword [edi], 0x4643f0
mov dword [esi + 0x24], 0x4643ec
mov dword [esi + 0x40], 6
mov dword [esi + 0x48], ebx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x401523
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x427d3f
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x401564
Capabilities:
Delete file

Disassembly:
jmp 0x41775e
mov eax, 0x46149c
call fcn.0043b314
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push edi
cmp ebx, 0xffffffff
mov edi, ecx
jle 0x41780e
cmp ebx, 6
jge 0x41780e
mov eax, dword [0x470ea0]
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
mov esi, dword [edi + 0x14]
cmp esi, dword [edi + 0x18]
je 0x4177ee
cmp dword [esi], ebx
jne 0x4177b5
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov eax, dword [eax]
push eax
push ecx
call fcn.0043beeb
pop ecx
test eax, eax
pop ecx
je 0x4177ba
add esi, 0x20
jmp 0x417797
push esi
mov ecx, edi
call fcn.004012c1
test eax, eax
je 0x4177cf
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea ecx, [ebp - 0x2c]
call fcn.004023a1
push esi
lea ecx, [edi + 0x10]
call fcn.004019b5
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
push 2
call fcn.00402784
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
call fcn.0040223e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040223e
xor eax, eax
pop esi
jmp 0x417811
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4015af
Capabilities:
Check if file exists
Delete file

Disassembly:
jmp 0x41b54c
mov eax, 0x461a2b
call fcn.0043b314
sub esp, 0xc
mov eax, dword [0x470ea0]
and dword [ebp - 0x18], 0
push ebx
mov dword [ebp - 0x14], eax
push 1
add ecx, 0x248
pop ebx
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.004023f6
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x14]
push str.Snap__d.jpg
push eax
call fcn.00401dbb
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x10]
push eax
push dword [eax - 8]
call fcn.004013ca
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b5bc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004023f6
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040223e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040223e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x401604
Capabilities:
Delete file

Disassembly:
jmp 0x41796b
mov eax, 0x4614b4
call fcn.0043b314
sub esp, 0x14
mov al, byte [ebp - 0xd]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
cmp esi, eax
mov dword [ebp - 4], ebx
je 0x4179cd
push esi
mov ecx, edi
call fcn.004012c1
test eax, eax
je 0x4179b0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
cmp eax, 2
je 0x4179bc
cmp eax, 3
jne 0x4179c5
push esi
lea ecx, [ebp - 0x20]
call fcn.00402572
add esi, 0x20
cmp esi, dword [edi + 0x18]
jne 0x41799b
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea esi, [edi + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0040254f
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0040181b
push ebx
push 3
mov ecx, edi
call fcn.00402784
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040204a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4016cc
Capabilities:
Check if file exists

Disassembly:
jmp 0x41a69d
mov eax, 0x461908
call fcn.0043b314
sub esp, 0x10
push edi
mov edi, ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 4
call fcn.0040209f
mov eax, dword [edi + 0xfc]
pop ecx
test eax, eax
je 0x41a6e6
mov ecx, dword [edi + 0x100]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0xc
jl 0x41a6e6
push 0
mov ecx, edi
call fcn.004010b9
jmp 0x41a88b
push ebx
lea eax, [ebp - 0x14]
push esi
push eax
mov ecx, edi
call fcn.004015af
mov eax, dword [0x470ea0]
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, 0x471cd0
mov eax, ebx
mov byte [ebp - 4], 1
test eax, eax
jne 0x41a718
xor eax, eax
jmp 0x41a71b
push ebx
call esi
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.004013ca
mov ebx, str.__file_
mov eax, ebx
test eax, eax
je 0x41a733
push ebx
call esi
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.004013ca
mov ebx, 0x471854
mov eax, ebx
test eax, eax
je 0x41a74b
push ebx
call esi
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.004013ca
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
push dword [eax - 8]
call fcn.004013ca
mov ebx, 0x471cb0
mov eax, ebx
test eax, eax
je 0x41a772
push ebx
call esi
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.004013ca
mov ebx, str.__format_
mov eax, ebx
test eax, eax
je 0x41a78a
push ebx
call esi
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.004013ca
mov ebx, str._jpg_
mov eax, ebx
test eax, eax
je 0x41a7a2
push ebx
call esi
push ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.004013ca
push dword [edi + 0x244]
call fcn.00402216
test eax, eax
pop ecx
je 0x41a871
mov eax, dword [0x478640]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x244]
push 5
push dword [ebp - 0x10]
push eax
call fcn.004018ed
add esp, 0xc
mov ecx, edi
call fcn.004019c9
xor esi, esi
push esi
push 0x64
push 3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.00401834
mov edi, eax
cmp edi, esi
je 0x41a871
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a871
lea eax, [ebp - 0x14]
push esi
push eax
push esi
mov ecx, edi
call fcn.00402838
mov ebx, eax
cmp ebx, esi
je 0x41a871
push 0x9c70
lea ecx, [ebp - 0x1c]
call fcn.00401253
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004014a6
mov eax, dword [eax]
push 0
push 0
push 0x30
push esi
push eax
mov byte [ebp - 4], 3
call fcn.0040166d
add esp, 0x14
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040223e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040223e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040223e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040223e
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret
Function at 0x401744
Capabilities:
Hide graphical window

Disassembly:
jmp 0x41b61e
cmp dword [esp + 4], 0
push esi
push edi
mov esi, ecx
jne 0x41b64b
call fcn.00401dc0
push 0x499
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
push 0
jmp 0x41b66d
cmp dword [esp + 0xc], 1
jne 0x41b672
push 0x499
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
push 5
push dword [esi + 0x54]
call edi
pop edi
pop esi
ret 4

Function at 0x401785
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x41d3d1
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x4017b2
Capabilities:
Get graphical window text

Disassembly:
jmp 0x4124ce
mov eax, 0x46103c
call fcn.0043b314
sub esp, 0x808
and word [ebp - 0x814], 0
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x812]
rep stosd dword es:[edi], eax
push 0x485
push dword [esi + 4]
stosw word es:[edi], ax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x814]
push 0x400
push ecx
push eax
call ebx
and word [ebp + eax*2 - 0x814], 0
lea eax, [ebp - 0x814]
test eax, eax
je 0x412541
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x814]
push ecx
push eax
lea ecx, [esi + 0x5c]
call fcn.00401398
push 0
push 0
push 0x147
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x486
mov dword [ebp - 0x14], eax
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x814]
push 0x400
push ecx
push eax
call ebx
and word [ebp + eax*2 - 0x814], 0
lea eax, [ebp - 0x814]
test eax, eax
lea edi, [esi + 0x60]
je 0x4125a2
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x814]
push ecx
push eax
mov ecx, edi
call fcn.00401398
mov ebx, 0x471874
mov ecx, edi
push ebx
call fcn.00401087
push ebx
mov ecx, edi
call fcn.00402496
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 8], ebx
je 0x412636
call fcn.00402752
add eax, 8
lea ecx, [ebp - 0x10]
push eax
call fcn.004023f6
push ebx
push ebx
push 0x146
mov dword [ebp - 4], ebx
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi]
dec eax
cmp dword [ebp - 0x14], eax
jge 0x412614
push dword [esi + 0x5c]
lea eax, [esi + 0x50]
push dword [ebp - 0x10]
push 0x9c71
push eax
call fcn.004017bc
add esp, 0x14
jmp 0x412628
push dword [ebp - 0x10]
lea eax, [esi + 0x50]
push 0x9c8c
push eax
call fcn.004017bc
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040223e
jmp 0x41263e
lea ecx, [esi + 0x50]
call fcn.004022c5
mov esi, dword [esi + 0x54]
cmp esi, ebx
je 0x412653
push ebx
push ebx
push 0xc4c
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40196a
Capabilities:
Hide graphical window

Disassembly:
jmp 0x41c485
cmp dword [esp + 8], 0
push edi
mov edi, ecx
je 0x41c4e0
push ebx
push esi
mov esi, 0x48f
push 0x9c84
push esi
call fcn.00401c80
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push dword [edi + 4]
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [edi + 4]
call ebx
mov ecx, dword [esp + 0x10]
push 1
mov edx, dword [ecx + 4]
mov esi, dword [ecx]
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
sub edi, edx
sub ecx, esi
push edi
push ecx
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
pop esi
pop ebx
jmp 0x41c4f7
push 0x48f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret 8
Function at 0x401a05
Capabilities:
Hide graphical window

Disassembly:
jmp 0x412366
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x401a5a
Capabilities:
Hide graphical window

Disassembly:
jmp 0x412340
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004017b2
push 7
call fcn.0040209f
pop ecx
pop esi
ret