joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c590
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.00401221
mov edi, eax
cmp edi, esi
je 0x46c5cd
cmp dword [ebp - 4], esi
je 0x46c5c9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x46c63a
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x46c5eb
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 4]
call fcn.0046c590
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x46c641
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x100
call edi
test eax, eax
je 0x46c5d5
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x46c621
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x46c638
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 4], esi
je 0x46c64f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x46c63a
Function at 0x46caca
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8020
call fcn.004bf900
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x8020]
push eax
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x4020]
push eax
mov dword [ebp - 0xc], edi
mov esi, 0x4000
push edi
jmp 0x46cba8
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x4020]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46cbbb
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x20006
push edi
lea eax, [ebp - 0x8020]
push eax
push edi
lea eax, [ebp - 0x4020]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x46cc39
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0046caca
pop ecx
pop ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], edi
je 0x46cc42
inc dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x8020]
push eax
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x4020]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call ebx
test eax, eax
je 0x46cb0b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x8020]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x4020]
push eax
mov dword [ebp - 4], edi
push edi
jmp 0x46cc25
push dword [ebp - 8]
lea eax, [ebp - 0x8020]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x4020]
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x46cc34
inc dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x8020]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x4020]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call ebx
test eax, eax
je 0x46cbe2
xor eax, eax
inc eax
jmp 0x46cc44
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46cf8d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x41c], bl
mov ecx, 0xff
lea edi, [ebp - 0x41b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp + 8]
push 0x400
lea eax, [ebp - 0x41c]
push eax
lea esi, [edi + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [edi + 0x24]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov dword [ebp - 8], eax
call edi
push 0x420
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x1c]
push dword [ebp - 8]
call edi
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
push 2
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push dword [esi]
call edi
push 0xffffffffffffffec
push dword [esi]
mov dword [ebp + 8], eax
call edi
push eax
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
push 0x16
push ebx
push esi
lea eax, [ebp - 0x18]
call fcn.00403b98
lea esi, [ebp - 8]
call fcn.0040aa7f
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x46d2ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x4e5348]
call dword [sym.imp.KERNEL32.dll_GetACP]
movzx eax, word [ebp + 0xc]
push 0xf0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x46d2e1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
jne 0x46d2e5
xor eax, eax
jmp 0x46d355
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x46d349
push edi
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov dx, word [esi]
test dx, dx
je 0x46d348
inc esi
inc esi
mov ax, word [esi]
inc esi
inc esi
mov ecx, dword [esi]
add esi, 4
cmp ax, 0x180
mov dword [ebp + 0xc], ecx
je 0x46d332
cmp ax, 0x401
je 0x46d332
mov ecx, 0x143
cmp ax, cx
je 0x46d32c
cmp ax, 0x403
jne 0x46d343
push esi
push 0
push ecx
jmp 0x46d33a
push esi
push 0
push 0x180
movzx eax, dx
push eax
push dword [ebp + 8]
call edi
add esi, dword [ebp + 0xc]
jne 0x46d2f9
pop edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x4710d6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push dword [esi + 0x138]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
xor edi, edi
cmp eax, edi
je 0x4711da
inc eax
mov dword [ebp - 8], eax
add eax, 3
and eax, 0xfffffffc
call fcn.004bf900
mov ebx, esp
cmp ebx, edi
mov dword [ebp - 4], ebx
je 0x4711da
push dword [ebp - 8]
push ebx
push dword [esi + 0x138]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, ebx
call fcn.00403d43
test eax, eax
je 0x4711da
push edi
push edi
push 0x184
push dword [esi + 0x13c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, esi
call fcn.00470d1c
push edi
push edi
push edi
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_ExtractIconExA]
call ebx
mov edi, eax
test edi, edi
jle 0x4711a0
lea ecx, [esi + 0x20]
or eax, 0xffffffff
call fcn.00480600
mov eax, dword [esi + 0x20]
push edi
push 0
push eax
push 0
push dword [ebp - 4]
call ebx
mov edi, eax
test edi, edi
jne 0x471180
mov byte [esi + 0x34], al
jmp 0x4711a0
or eax, 0xffffffff
lea ecx, [esi + 0x20]
call fcn.00480600
push 0x104
push dword [ebp - 4]
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0xc
push edi
lea edi, [esi + 0x13c]
mov eax, edi
call fcn.0047bfb8
push dword [esi + 0x30]
mov eax, edi
call fcn.004468f7
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x30]
push 0x10428
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop ebx
leave
ret
Function at 0x47165d
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4c2fb6
call fcn.004bf97c
sub esp, 0x18
push ebx
push esi
push 0xc8
push dword [edi + 4]
call fcn.0046d2ac
pop ecx
pop ecx
push 0
push 0x30
push 0x30
push 1
push 0x80
push dword [0x4e5344]
call dword [sym.imp.USER32.dll_LoadImageA]
lea esi, [edi + 0x54]
push eax
call fcn.00403586
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f1
push dword [edi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x8292
lea eax, [ebp - 0x1c]
call fcn.00408a73
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov dword [esp], str.__Ansi_
push eax
call fcn.00403081
push dword [ebp - 0x1c]
push 0x3f3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [0x4e4150]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
push dword [0x4e5c20]
mov esi, str.ttplayer_mail.ttplayer.com
push esi
lea eax, [ebp - 0x18]
push str.mailto:_s_subjectAbout
push eax
call fcn.004058d5
add esp, 0x10
push 0x3ed
push dword [edi + 4]
call ebx
lea edx, [edi + 0x58]
mov ecx, eax
mov eax, edx
call fcn.0040bf88
lea eax, [ebp - 0x24]
push 0
push eax
mov eax, str.nanling
call fcn.00401721
pop ecx
pop ecx
push dword [eax]
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x471758
push eax
call fcn.00401377
mov ebx, dword [ebp - 0x18]
lea eax, [edi + 0x58]
call fcn.0046d074
mov eax, esi
lea esi, [edi + 0x58]
call fcn.0046d0f2
xor eax, eax
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004990a6
push dword [ebp - 0x10]
mov eax, dword [0x4e4150]
push dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push str._d__d__d
push eax
call fcn.004058d5
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
add esp, 0x24
push dword [ebp - 0x14]
push 0x410
push dword [edi + 4]
call esi
mov eax, dword [0x4e4150]
push 0x81
push dword [0x4e5994]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403664
push 0x4cc158
push 0x4cb1d4
lea eax, [ebp - 0x10]
push eax
call fcn.00407288
mov ebx, dword [ebp - 0x10]
push ebx
push 0x431
push dword [edi + 4]
call esi
lea eax, [ebx - 0xc]
cmp eax, dword [0x4e4154]
pop esi
pop ebx
je 0x47180f
push eax
call fcn.00401377
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x471823
push eax
call fcn.00401377
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x471837
push eax
call fcn.00401377
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x47184b
push eax
call fcn.00401377
mov ecx, dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword fs:[0], ecx
leave
ret

Function at 0x471ecb
Capabilities:
Get graphical window text

Disassembly:
push 0
push 0xd
push 0x113
push dword [0x4e5c18]
mov dword [0x4e5778], 1
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
ret
Function at 0x472413
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ebx, eax
shl ebx, 0x10
cmp dword [ebp + 0x10], esi
je 0x472439
or ebx, 0x1000000
mov eax, dword [0x4e4150]
push 0x40
mov dword [ebp + 0x10], eax
pop edi
add edi, edi
lea esi, [ebp + 0x10]
call fcn.00414991
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea ecx, [ebp + 0x10]
mov esi, eax
call fcn.0040310e
cmp esi, edi
je 0x472444
mov esi, dword [ebp + 8]
lea ecx, [ebp + 0x10]
call fcn.00402f86
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x472487
push eax
call fcn.00401377
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x477a18
Capabilities:
Delete file

Disassembly:
mov eax, 0x4c2f50
call fcn.004bf97c
sub esp, 0xc
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0
push 0
push 0x188
lea edi, [ebx + 0x54]
push dword [edi]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x477b11
push eax
lea ecx, [ebp - 0x18]
mov eax, ebx
call fcn.00477640
and dword [ebp - 4], 0
mov eax, dword [0x4e4150]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
lea eax, [ebp - 0x14]
push 0x81a7
push eax
call fcn.00405867
add esp, 0xc
push 0x24
push dword [0x4e5c1c]
push dword [ebp - 0x14]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x477af1
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x10]
mov eax, edi
call fcn.0047bfce
test eax, eax
je 0x477ab6
push 1
push eax
call fcn.00477791
push dword [ebp - 0x10]
mov eax, edi
call fcn.0047c030
push 0
push 0
push 0x18b
push dword [edi]
call esi
cmp dword [ebp - 0x10], eax
jl 0x477ad6
and dword [ebp - 0x10], 0
push dword [ebp - 0x10]
mov eax, edi
call fcn.004468f7
push 0
push 0x10428
push 0x111
push dword [ebx + 4]
call esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x477b05
push eax
call fcn.00401377
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
call fcn.00428eb2
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x478ec3
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4c58c0
call fcn.004bf97c
sub esp, 0x20c
push edi
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x114], 0
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
push dword [ebp + 8]
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
push dword [0x4e5c18]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
pop edi
je 0x478fc1
cmp dword [ebp + 0xc], 0
push esi
mov esi, 0x4cdf20
je 0x478f37
lea eax, [ebp - 0x114]
push esi
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x114]
push esi
push eax
call sub.MSVCRT.dll_strcat
push dword [0x4e5c1c]
lea eax, [ebp - 0x114]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x114]
push str..lnk
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x80f2
lea eax, [ebp - 0x10]
call fcn.00408a73
and dword [ebp - 4], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x114]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00478e2e
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
add esp, 0x10
cmp eax, dword [0x4e4154]
je 0x478fbe
push eax
call fcn.00401377
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x47c9fa
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 0
push 0
mov edi, eax
push 0x46b
add edi, 4
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push dword [edi]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
call fcn.0040a8d1
push 1
push dword [edi]
call esi
push 0x15
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
call fcn.00403b98
pop edi
pop esi
leave
ret
Function at 0x47f986
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov ebx, eax
je 0x47f9d6
lea eax, [ebx - 0x24]
neg ebx
sbb ebx, ebx
and ebx, eax
push 0xffffffffffffffe6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClassLongA]
test eax, 0x20000
jne 0x47f9ee
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ebx, 0x24
push ebx
movsd dword es:[edi], dword [esi]
call fcn.004800cb
jmp 0x47f9ee
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f9ee
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
and dword [eax], 0
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8

Function at 0x480713
Capabilities:
Suspend thread

Disassembly:
cmp dword [esi + 0x28], 0
jne 0x48072d
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi + 0x28], ecx
mov eax, dword [esi + 0x28]
ret

Function at 0x480731
Capabilities:
Resume thread

Disassembly:
cmp dword [esi + 0x28], 0
je 0x480749
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc eax
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x28], eax
xor eax, eax
cmp dword [esi + 0x28], eax
sete al
ret

Function at 0x481998
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [eax - 0x20]
and esi, ecx
cmp byte [eax + 0x1c], 0
je 0x4819db
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 8], 2
jne 0x4819cc
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4819e1
cmp dword [ebp + 8], 0
jne 0x4819db
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 1
je 0x4819f9
mov eax, dword [ebp + 0xc]
shr eax, 0x10
movsx eax, ax
push eax
movsx eax, word [ebp + 0xc]
push eax
add esi, 0x20
push esi
call fcn.00481a00
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x481df4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push ebx
push esi
push edi
mov ebx, eax
xor esi, esi
push 0x57
xor eax, eax
cmp ebx, esi
pop ecx
lea edi, [ebp - 0x180]
mov dword [ebp - 0x184], esi
rep stosd dword es:[edi], eax
jne 0x481e45
cmp edx, dword [ebp + 0x10]
jne 0x481ea6
push 0x208
push 0x160
lea eax, [ebp - 0x184]
push eax
push esi
push dword [ebp + 0x10]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea ebx, [ebp - 0x178]
push 8
pop ecx
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
push 0x146
push dword [edi + 0x74]
mov dword [ebp - 0x24], 0x21
call esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], eax
je 0x481e8f
or dword [ebp - 0x24], 6
lea ecx, [ebp - 0x10]
push ecx
push eax
xor eax, eax
inc eax
call fcn.0048e323
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0x401
push dword [edi + 0x74]
call esi
pop edi
pop esi
pop ebx
leave
ret 0xc
push esi
push 0x104
lea eax, [ebp - 0x178]
push eax
push edx
mov edx, dword [ebp + 0xc]
call fcn.0048e2bf
test eax, eax
jne 0x481e3f
or eax, 0xffffffff
jmp 0x481e9f
Function at 0x481ec9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4c2dab
call fcn.004bf97c
sub esp, 0x118
push ebx
xor ebx, ebx
cmp dword [esi + 0xf4], ebx
je 0x48207b
push edi
mov dword [ebp - 0x18], ebx
xor edi, edi
lea eax, [ebp - 0x20]
push eax
push dword [edi*4 + 0x4e51b8]
mov dword [ebp - 0x20], ebx
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jl 0x481f23
cmp edi, ebx
mov edx, dword [ebp - 0x20]
jne 0x481f13
mov dword [ebp - 0x18], edx
mov eax, dword [esi + 0xf4]
push edx
push eax
push esi
xor eax, eax
call fcn.00481df4
inc edi
cmp edi, 5
jb 0x481eee
cmp dword [ebp - 0x18], ebx
je 0x48207a
mov dword [ebp - 0x10], ebx
lea edx, [ebp - 0x10]
push edx
push 0x4c8aec
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0xf4]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x18]
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x482069
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x40
push dword [esi + 4]
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x482059
mov dword [ebp - 0x14], ebx
jmp 0x481ff9
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x14]
push edx
push 1
mov dword [ebp - 0x20], 0x62000000
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test byte [ebp - 0x1d], 2
jne 0x481ff0
mov edx, dword [ebp - 0x10]
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x124], bl
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x14]
call fcn.0048e2bf
test eax, eax
je 0x481ff0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [0x4e5924]
cmp eax, ebx
je 0x481ff0
mov edx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
xor eax, eax
push esi
call fcn.00481df4
push dword [ebp - 0x14]
call dword [0x4e5974]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x14]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x481f7f
push 0x814b
lea eax, [ebp - 0x18]
call fcn.00408a73
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xf4]
mov eax, dword [eax]
push ebx
push ecx
push esi
xor edx, edx
call fcn.00481df4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x4e4154]
je 0x482049
push eax
call fcn.00401377
push ebx
push ebx
push 0x14e
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x482069
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x48207a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x483446
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
test ebx, ebx
push edi
jne 0x48346b
push ebx
push 0x80
push 3
push ebx
push 1
push Ordinal_2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi], eax
jmp 0x4834b6
push 0x4ceafc
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4834a6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebp + 8], eax
je 0x4834a6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4834a6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4834ab
or eax, 0xffffffff
jmp 0x4834b8
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov dword [esi], edi
mov eax, dword [esi]
pop edi
pop ebp
ret 4