joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403130
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0xc
cmp word [esp + 0x14], 0x10
mov dword [esp], 0x64
je 0x40314b
xor eax, eax
add esp, 0xc
ret 0xc
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0
push 0x18b
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
mov dword [esp + 0x20], eax
call esi
push 4
mov ebp, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x403245
push ebx
mov ebx, dword [esp + 0x24]
jmp 0x40318f
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [esp + 0x10]
sub eax, ebp
cmp eax, ecx
jbe 0x403233
call esi
mov ebp, eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x14]
push 1
push ecx
push edi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
movsx esi, word [esp + 0x2a]
mov ecx, dword [esp + 0x18]
mov eax, esi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 8
jle 0x403233
cmp ecx, esi
jle 0x4031e4
cmp ebx, dword [esp + 0x24]
jge 0x4031e2
inc ebx
jmp 0x4031eb
cmp ecx, esi
jge 0x4031fe
test ebx, ebx
jl 0x4031fe
dec ebx
push 0
push ebx
push 0x197
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x18]
sub esi, ecx
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
mov dword [esp + 0x10], 1
shr eax, 0x1f
add edx, eax
lea eax, [edx + edx*4]
cdq
mov ecx, eax
mov eax, 0x64
xor ecx, edx
sub ecx, edx
sub eax, ecx
cmp eax, 1
jl 0x403233
mov dword [esp + 0x10], eax
push 4
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
jne 0x403189
pop ebx
push edi
call fcn.004478f0
push edi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret 0xc
Function at 0x408570
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4565f8
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x104
call fcn.0044c0d4
mov dword [ebp - 0x164], eax
push 0x104
call fcn.0044c0d4
add esp, 8
mov ebx, eax
mov dword [ebp - 0x160], ebx
mov dword [ebp - 4], 0
push 0
push 0
push 0x184
mov eax, dword [0x4773cc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [0x477328]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 0x164]
mov edx, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x45a1c4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x168], 0x40000
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x16c], esi
cmp esi, 0xffffffff
jne 0x408660
mov dword [ebp - 4], eax
jmp 0x408722
cmp dword [ebp - 0x138], 0x17a
jb 0x4086d5
lea edi, [ebp - 0x12c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x2e
push ebx
call fcn.0044c660
add esp, 8
mov byte [eax], 0
push ebx
push 0
push 0x180
mov eax, dword [0x4773cc]
push eax
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
call esi
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x168]
push ecx
push eax
push 0x19a
mov edx, dword [0x4773cc]
push edx
call esi
mov esi, dword [ebp - 0x16c]
lea eax, [ebp - 0x158]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408660
mov dword [ebp - 4], 0xffffffff
jmp 0x408722
test ebx, ebx
je 0x40872f
push ebx
call fcn.0044c186
add esp, 4
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x408742
push eax
call fcn.0044c186
add esp, 4
cmp esi, 0xffffffff
je 0x40874e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409390
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
call ebp
mov dword [esp + 0x14], eax
mov eax, dword [0x4773cc]
push 0
push eax
mov esi, 0x5dc
call fcn.00409250
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x464968]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jle 0x409547
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x10], 0
mov ebx, 0xa
cmp eax, dword [0x464970]
jge 0x409547
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x46496c]
mov edx, dword [0x464988]
cmp eax, ecx
jl 0x40940b
add ecx, edx
cmp eax, ecx
jle 0x40942e
mov ecx, dword [0x464974]
mov ebp, ecx
sub ebp, edx
cmp eax, ebp
jle 0x409547
add ecx, 0x13
cmp eax, ecx
jge 0x409547
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4773b0]
push edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x409547
call ebp
sub eax, dword [esp + 0x14]
cmp eax, esi
jbe 0x40951c
call ebp
mov dword [esp + 0x14], eax
mov eax, dword [0x4773cc]
push 0
push 0
push 0x18e
push eax
call edi
mov ecx, dword [0x46496c]
mov edx, dword [0x464988]
mov esi, eax
mov eax, dword [esp + 0x1c]
add edx, ecx
cmp eax, edx
jg 0x4094bf
test esi, esi
jle 0x409547
mov eax, dword [0x4773cc]
push 1
push eax
call fcn.00409250
mov ecx, dword [0x4773cc]
dec esi
push 0
push esi
push 0x197
push ecx
call edi
dec ebx
push 0
mov edx, dword [esp + 0x14]
add edx, 0x23
mov dword [esp + 0x14], edx
mov edx, dword [0x4773cc]
push edx
jmp 0x409509
mov eax, dword [0x4773cc]
push 0
push 0
push 0x18b
push eax
call edi
dec eax
cmp esi, eax
jge 0x409547
mov ecx, dword [0x4773cc]
push 1
push ecx
call fcn.00409250
mov edx, dword [0x4773cc]
inc esi
push 0
push esi
push 0x197
push edx
call edi
mov eax, dword [0x4773cc]
dec ebx
mov esi, dword [esp + 0x10]
push 0
add esi, 0x23
push eax
mov dword [esp + 0x18], esi
call fcn.00409250
cmp ebx, 4
mov esi, dword [esp + 0x10]
jg 0x40951c
mov esi, 0x64
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [0x4773cc]
push 0
push edx
call fcn.00409250
mov ecx, dword [0x464968]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jg 0x4093e5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x409e40
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456628
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
push 4
call fcn.0044c0d4
add esp, 4
mov edi, eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x2c], ebx
push 1
push 1
push 3
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call fcn.0044a650
mov esi, eax
mov dword [ebp - 0x44], esi
cmp esi, 0xffffffff
je 0x409f6d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x38], eax
push eax
call fcn.0044c0d4
add esp, 4
mov dword [ebp - 0x24], eax
push ebx
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x20], esi
add esi, 0x155
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx + 4]
jae 0x409f6d
push 3
mov dl, byte [esi + 0x24]
push edx
mov eax, dword [esi + 0x20]
push eax
call fcn.00432f00
mov dword [ebp - 0x28], eax
test eax, eax
je 0x409f5f
mov dword [ebp - 0x34], 0
push 3
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.00434e30
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x409f5f
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [ebp - 0x34]
jae 0x409f53
mov edx, dword [eax + esi*4]
mov dword [edi + ebx*4], edx
inc ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebx*4 + 4]
push eax
push edi
call fcn.0044c3bd
add esp, 8
mov edi, eax
mov dword [ebp - 0x40], edi
inc esi
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x1c]
jmp 0x409f25
push eax
call fcn.0044c186
add esp, 4
mov esi, dword [ebp - 0x30]
add esi, 0x25
mov dword [ebp - 0x30], esi
inc dword [ebp - 0x48]
jmp 0x409ee5
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x409f7d
push eax
call fcn.0044c186
add esp, 4
test ebx, ebx
jne 0x409f8f
push edi
call fcn.0044c186
add esp, 4
xor edi, edi
mov dword [ebp - 0x40], edi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409ff0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456638
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
xor ebx, ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], esi
push 1
push 1
push 3
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call fcn.0044a650
mov edi, eax
mov dword [ebp - 0x38], edi
cmp edi, 0xffffffff
je 0x40a0d4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [ebp - 0x30], ebx
push ebx
call fcn.0044c0d4
add esp, 4
mov esi, eax
mov dword [ebp - 0x20], esi
push 0
lea ecx, [ebp - 0x3c]
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], esi
lea edi, [esi + 0x155]
mov dword [ebp - 0x2c], edi
mov edx, dword [esi + 4]
shl edx, 2
push edx
call fcn.0044c0d4
add esp, 4
mov ebx, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [esi + 4]
jae 0x40a0d4
push 3
mov cl, byte [edi + 0x24]
push ecx
mov edx, dword [edi + 0x20]
push edx
call fcn.00432f00
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40a0c9
xor ecx, ecx
mov cx, word [eax]
mov eax, dword [ebp - 0x28]
mov dword [ebx + eax*4], ecx
inc eax
mov dword [ebp - 0x28], eax
add edi, 0x25
mov dword [ebp - 0x2c], edi
inc dword [ebp - 0x3c]
jmp 0x40a09c
test esi, esi
je 0x40a0e1
push esi
call fcn.0044c186
add esp, 4
mov esi, dword [ebp - 0x28]
test esi, esi
jne 0x40a0f6
push ebx
call fcn.0044c186
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov edx, dword [ebp + 0xc]
mov dword [edx], esi
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40a160
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
push 0x104
call fcn.0044c0d4
add esp, 4
mov esi, eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
mov eax, dword [0x477380]
push eax
push edi
call ebp
push 0x104
push esi
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x10]
push edx
push edi
call ebp
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call fcn.0044c186
add esp, 4
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
push eax
call esi
lea ecx, [esp + 0x2c]
push ecx
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 2
mov edx, dword [esp + 0x18]
lea esi, [edx + 0x19]
call edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sub ecx, edx
sub ecx, eax
sub ecx, 5
cmp esi, ecx
jge 0x40a218
mov eax, esi
jmp 0x40a22d
push 2
call edi
mov edx, eax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
sub eax, edi
sub eax, edx
sub eax, 5
cmp dword [esp + 0x34], eax
jge 0x40a24e
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
sub ecx, edx
push 6
push ecx
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
Function at 0x40a280
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x104
call fcn.0044c0d4
push 0x104
mov edi, eax
call fcn.0044c0d4
mov ebx, dword [esp + 0x1c]
add esp, 8
mov ebp, eax
push 0x104
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x40a32d
mov eax, dword [0x4773cc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push eax
call esi
mov ecx, dword [0x4773cc]
push ebp
push eax
push 0x189
push ecx
mov dword [esp + 0x24], eax
call esi
mov esi, edi
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40a307
test cl, cl
je 0x40a303
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40a307
add eax, 2
add esi, 2
test cl, cl
jne 0x40a2e3
xor eax, eax
jmp 0x40a30c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40a32d
push 1
push 0x27
push edi
call fcn.00449b90
mov esi, dword [esp + 0x14]
push esi
push edi
call fcn.0040a3b0
push esi
push edi
push ebp
call fcn.00409aa0
push edi
call fcn.0044c186
push ebp
call fcn.0044c186
add esp, 8
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
push eax
push 0xfffffffffffffffc
push ebx
call esi
mov eax, dword [0x4773cc]
push 0
push 0xffffffffffffffeb
push eax
call esi
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x40a380
mov ecx, dword [0x4773cc]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [0x4773cc]
cmp esi, eax
je 0x40a399
push 0xffffffffffffffff
push 0
push 0x185
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x40c600
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x10
mov eax, dword [0x477358]
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x4773cc]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
mov ecx, dword [0x477358]
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x10]
push 2
push eax
push ecx
push 0
call ebx
mov ebp, dword [esp + 0x10]
push 0xe
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, esi
sub edx, ecx
mov ecx, dword [0x4773cc]
sub eax, ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
push edx
push eax
push 0
push 0
push 0
push ecx
mov dword [esp + 0x34], esi
call ebp
mov eax, dword [0x477448]
lea edx, [esp + 0x10]
push edx
push eax
call edi
mov edx, dword [0x477358]
lea ecx, [esp + 0x10]
push 2
push ecx
push edx
push 0
call ebx
mov ecx, dword [0x477448]
push 0xd
mov eax, dword [esp + 0x18]
push 0
push 0
push eax
push esi
push 0
push ecx
mov dword [esp + 0x2c], esi
call ebp
mov eax, dword [0x47741c]
lea edx, [esp + 0x10]
push edx
push eax
call edi
mov edx, dword [0x477358]
lea ecx, [esp + 0x10]
push 2
push ecx
push edx
push 0
call ebx
add esi, 4
push 0xc
mov dword [esp + 0x14], esi
push 4
mov eax, dword [0x477338]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x47741c]
sub eax, esi
push eax
push ecx
push esi
push 0
push edx
call ebp
mov ecx, dword [0x477450]
lea eax, [esp + 0x10]
push eax
push ecx
call edi
mov eax, dword [0x477358]
lea edx, [esp + 0x10]
push 2
push edx
push eax
push 0
call ebx
mov edx, dword [0x477338]
push 0xc
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
sub ecx, eax
sub edx, esi
push ecx
push edx
push eax
mov eax, dword [0x477450]
push esi
push 0
push eax
mov dword [esp + 0x2c], esi
call ebp
mov ecx, dword [0x477358]
push 0
push 1
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x477334]
mov edx, dword [0x477330]
mov ecx, dword [0x477338]
sub eax, 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [0x47733c]
mov dword [esp + 0x14], eax
mov eax, dword [0x477358]
lea edx, [esp + 0x10]
push 1
add ecx, 3
push edx
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x40d690
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
push esi
push edi
push 0x4001
lea eax, [esp + 0x10]
push 0x160
push eax
push 0
push 0x45a238
mov dword [esp + 0x1c], 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x170]
test eax, eax
je 0x40d6d8
push eax
push 0
push 0x1109
push esi
call edi
mov ecx, dword [0x477340]
push ebx
push ebp
push 0x8d
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapA]
push 0
push 3
push 1
push 0x12
push 0x12
mov ebx, eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebp, eax
push 0xff
push ebx
push ebp
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push ebp
push 2
push 0x1109
push esi
call edi
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
pop ebp
pop ebx
test eax, eax
jl 0x40d77f
push 0xffff0000
push 0
push 0x1101
push esi
call edi
push 0xffff0000
push 0
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.0040d2a0
push 0
push 5
mov ecx, dword [esp + 0x17c]
push 0x110a
push esi
mov dword [0x477300], ecx
call edi
push eax
push 2
push 0x1102
push esi
call edi
mov dword [0x477300], 0
mov eax, dword [esp + 8]
pop edi
test eax, eax
pop esi
je 0x40d78f
mov edx, dword [eax]
push eax
call dword [edx + 8]
add esp, 0x164
ret 8

Function at 0x40dc90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x4773fc]
push esi
push 5
push 0x8e
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [0x4773fc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
mov esi, eax
mov edx, dword [esp + 0xc]
mov eax, dword [0x4773fc]
push 0x40dce0
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
ret 4

Function at 0x40de60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x4773fc]
push ebx
push esi
push 5
push 0xa8
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [0x4773fc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
push 0x40df20
mov esi, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, dword [0x477340]
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x40def2
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4770e4]
mov edx, dword [esp + 0xc]
push edi
mov dword [eax], ecx
mov eax, dword [0x476fd0]
mov dword [edx], eax
mov edi, 0x476fe0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ebx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
ret 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop esi
mov dword [eax], 0
mov dword [ecx], 0
mov eax, ebx
mov byte [edx], 0
pop ebx
ret 0xc
Function at 0x40eed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
call fcn.004354f0
mov eax, dword [esp]
test eax, eax
je 0x40efb8
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x40efb8
cmp eax, ecx
ja 0x40ef10
mov dl, 4
test byte [eax + 0x27], dl
jne 0x40ef24
add eax, 0x62
cmp eax, ecx
mov dword [esp], eax
jbe 0x40ef00
push 0x40
push 0x206
push 0
call fcn.00448b60
add esp, 8
ret 4
mov edx, dword [0x477450]
push esi
push edi
push 0
push 0
push 0x184
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x4773fc]
push 5
push 0x96
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [0x4773fc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
mov esi, eax
mov edx, dword [esp + 0x18]
mov eax, dword [0x477340]
push 0x40efc0
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
test edi, edi
pop edi
pop esi
je 0x40efb3
call fcn.004329c0
call fcn.00432f80
call fcn.004327d0
mov ecx, dword [0x4773e0]
push ecx
call fcn.00433610
mov edx, dword [0x4773dc]
push edx
call fcn.00433de0
call fcn.00447af0
call fcn.00433170
add esp, 8
ret 4

Function at 0x4143e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x4773fc]
push esi
push edi
push 5
push 0xa6
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [0x4773fc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, dword [0x477340]
mov esi, eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push 0x414440
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x414ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x4773fc]
push esi
push 5
push 0xa9
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [0x4773fc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
mov esi, eax
mov edx, dword [esp + 0xc]
mov eax, dword [0x477340]
push 0x414bf0
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
pop esi
ret 4