joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442ae0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46c5d4]
cmp byte [eax + 0xc], 0
je 0x442c4d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x442c46
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46db68], 0
jne 0x442b34
push 0x442c54
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x442c5c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46db68], eax
cmp dword [0x46bb84], 0
jne 0x442c2f
push 0x442c6c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46bb84], eax
cmp dword [0x46bb84], 0
je 0x442c2f
push 0x442c78
mov eax, dword [0x46bb84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46db6c], eax
push 0x442c88
mov eax, dword [0x46bb84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46db70], eax
push 0x442c9c
mov eax, dword [0x46bb84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46db74], eax
push 0x442cb4
mov eax, dword [0x46bb84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46db78], eax
push 0x442ccc
mov eax, dword [0x46bb84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46db7c], eax
push 0x442ce0
mov eax, dword [0x46bb84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46db80], eax
push 0x442cf8
mov eax, dword [0x46bb84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46db84], eax
push 0x442d10
mov eax, dword [0x46bb84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46db88], eax
push 0x442d2c
mov eax, dword [0x46bb84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46db8c], eax
push 0x442d38
mov eax, dword [0x46bb84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46db90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442c4d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x447284
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404094
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4472d3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404314
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44eab8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44eb08]
test si, 4
je 0x44eacc
or bl, 1
test si, 8
je 0x44ead6
or bl, 4
test si, 1
je 0x44eae0
or bl, 8
test si, 2
je 0x44eaea
or bl, 0x10
test si, 0x10
je 0x44eaf4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44eb03
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44eb0c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44eb44]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44eb25
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44eb34
or bl, 4
test esi, 0x20000000
je 0x44eb3f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4551ec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4551fe
add esp, 0xfffffff0
call fcn.00403668
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d15c
mov eax, dword [0x46c268]
mov dword [eax + 4], ebx
mov dword [eax], 0x455590
mov eax, dword [0x46c274]
mov dword [eax + 4], ebx
mov dword [eax], 0x45559c
mov eax, ebx
call fcn.004555a8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4151d0]
call fcn.00403314
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4151d0]
call fcn.00403314
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4151d0]
call fcn.00403314
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4151d0]
call fcn.00403314
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4151d0]
call fcn.00403314
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4519c4
push eax
push 0
push 0
mov eax, dword [0x46c3cc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ebb0]
call fcn.00420310
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ebb0]
call fcn.00420310
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ebb0]
call fcn.00420310
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004559c8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4558a4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4558a4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4558a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45533b
call fcn.004036c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x455688
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x455833
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455814
mov dl, 1
mov eax, dword [0x4155ec]
call fcn.00403314
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404094
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455803
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00442e40
test al, al
je 0x4557f6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x455844
lea eax, [ebp - 0x254]
call fcn.00409030
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4557f6
xor eax, eax
push ebp
push 0x4557ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45587c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4557d8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404314
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4557d8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404314
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4557f6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4556f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004192dc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45583a
lea eax, [ebp - 0x260]
call fcn.00404094
ret

Function at 0x456168
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46dbb4]
cmp byte [eax + 0xa5], 0
jne 0x4561d9
cmp dword [0x46dbcc], 0
jne 0x45619a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456124
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46dbcc], eax
cmp dword [0x46dbc8], 0
jne 0x4561b5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46dbc8], eax
cmp dword [0x46dbd0], 0
jne 0x4561d9
push esp
push 0
push 0
push 0x4560c8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46dbd0], eax
pop edx
ret
Function at 0x4562d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4562e7
add esp, 0xfffffff0
call fcn.00403668
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d15c
mov eax, dword [0x46c3b8]
cmp word [eax + 2], 0
jne 0x45630f
mov eax, dword [0x46c3b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004579a8
mov eax, dword [0x46c46c]
cmp word [eax + 2], 0
jne 0x456329
mov eax, dword [0x46c46c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00457ba0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4151d0]
call fcn.00403314
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4151d0]
call fcn.00403314
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f658]
call fcn.00426fdc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4564b0
mov eax, dword [0x46c2d0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004273ac
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x458140
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46c2d0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c780
test eax, eax
je 0x45641e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408a24
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c7a8
test eax, eax
je 0x456432
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404314
mov eax, dword [0x46c1a0]
cmp byte [eax], 0
jne 0x456466
mov eax, ebx
call fcn.004565d8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045831c
mov eax, ebx
call fcn.00458ce0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4564a6
call fcn.004036c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456858
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46dbb4]
cmp dword [eax + 0x30], 0
je 0x456902
cmp dword [ebx + 0x94], 0
jne 0x4568fc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4567e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4568fc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4568c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4568fc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417538
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4568d1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457464
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x457499
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404184
jmp 0x4574a6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040e8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4584f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458539
mov eax, esi
call fcn.0043e46c
test al, al
je 0x458539
mov eax, dword [ebx + 0x84]
call fcn.0043e168
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458539
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043e168
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4591f8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414778]
call fcn.00404a38
xor eax, eax
push ebp
push 0x45933c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46bdb8], 0
jne 0x45924b
mov ecx, dword [0x46c1b0]
mov dl, 1
mov eax, dword [0x40738c]
call fcn.0040ba2c
call fcn.00403ad0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d58
mov eax, ebx
call fcn.004048e8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45934c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405a38
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004048f8
test eax, eax
jle 0x4592e3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4592dc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040432c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404314
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408198
test eax, eax
jne 0x4592dc
mov ebx, 0x15
jmp 0x4592e8
mov ebx, 0x10
jmp 0x4592e8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x46bdb8]
call fcn.00459150
mov eax, dword [ebp - 8]
call fcn.00459150
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405a50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459343
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040b8
lea eax, [ebp - 0x10]
mov edx, dword [0x414778]
call fcn.00404b08
ret

Function at 0x45a494
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404554
mov eax, dword [ebp - 8]
call fcn.00404554
xor eax, eax
push ebp
push 0x45a517
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45a52c
push dword [ebp - 4]
push 0x45a52c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404424
push ebx
push 0
mov eax, dword [ebp - 8]
call fcn.00404564
push eax
mov eax, dword [ebp - 4]
call fcn.00404564
push eax
push 0x45a530
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a51e
lea eax, [ebp - 8]
mov edx, 2
call fcn.004040b8
ret
Function at 0x45d0c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0045cb68
test byte [ebx + 0x23d], 4
jne 0x45d15d
mov edx, esp
mov eax, ebx
call fcn.004372f4
push esp
mov eax, ebx
call fcn.0043df64
push eax
push 0
mov eax, ebx
test eax, eax
je 0x45d0fd
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x45d12e
mov ecx, dword [0x46c364]
mov dl, 1
mov eax, dword [0x458e10]
call fcn.0040ba2c
call fcn.00403ad0
mov eax, ebx
call fcn.0045d674
cmp byte [ebx + 0x57], 0
jne 0x45d164
mov eax, ebx
call fcn.0043e168
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d164
push 0
mov eax, ebx
call fcn.0043e168
push eax
call sub.user32.dll_ShowWindow
jmp 0x45d164
mov eax, ebx
call fcn.0043b0e8
add esp, 0x10
pop ebx
ret

Function at 0x468b1c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00404a18
xor eax, eax
push ebp
push 0x468c3a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, 0x468c50
call fcn.0045a420
push 0
mov eax, dword [ebp - 8]
call fcn.00404564
push eax
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402acc
mov eax, dword [ebp - 0xc]
call fcn.00404564
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00404904
jne 0x468bc1
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402acc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x468c60
call fcn.004090b0
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0045a494
jmp 0x468c02
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00402acc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xf
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, 0x468c78
call fcn.004090b0
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0045a494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468c41
lea eax, [ebp - 0x34]
call fcn.00404094
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004040b8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004040b8
lea eax, [ebp - 4]
call fcn.00404784
ret
Function at 0x46909c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404554
xor eax, eax
push ebp
push 0x46911f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408810
test al, al
je 0x469109
call sub.kernel32.dll_GetTickCount
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x4690e0
push 0xc8
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
call fcn.00408820
test al, al
jne 0x469109
call sub.kernel32.dll_GetTickCount
xor edx, edx
sub eax, dword [ebp - 0x10]
sbb edx, dword [ebp - 0xc]
cmp edx, 0
jne 0x469107
cmp eax, 0x1388
jb 0x4690d6
jmp 0x469109
jl 0x4690d6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469126
lea eax, [ebp - 4]
call fcn.00404094
ret

Function at 0x46912c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404554
lea eax, [ebp - 8]
call fcn.00404a18
xor eax, eax
push ebp
push 0x46924e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x46919c
call sub.kernel32.dll_GetTickCount
xor edx, edx
sub eax, dword [ebp - 0x10]
sbb edx, dword [ebp - 0xc]
cmp edx, 0
jne 0x46918c
cmp eax, 0xbb8
jbe 0x469192
jmp 0x469228
jg 0x469228
push 0xc8
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
call fcn.00469018
test al, al
je 0x46916e
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0045a114
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.004047e4
push 0
mov eax, dword [ebp - 4]
call fcn.00404564
push eax
call sub.kernel32.dll_BeginUpdateResourceA
mov esi, eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00404904
jne 0x4691f7
push 0
push 0
push 0
push 0x469260
push 0xa
push esi
call sub.kernel32.dll_UpdateResourceA
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x469220
mov eax, dword [ebp - 8]
call fcn.004048f8
add eax, eax
push eax
mov eax, dword [ebp - 8]
call fcn.004048e8
push eax
push 0
push 0x469260
push 0xa
push esi
call sub.kernel32.dll_UpdateResourceA
cmp eax, 1
sbb ebx, ebx
inc ebx
push 0
push esi
call sub.kernel32.dll_EndUpdateResourceA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469255
lea eax, [ebp - 0x14]
call fcn.00404784
lea eax, [ebp - 8]
call fcn.00404784
lea eax, [ebp - 4]
call fcn.00404094
ret
Function at 0x4015c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x401695
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x401695
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x401695
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x40161b
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x401695
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401660
test dl, dl
je 0x40165c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401660
add ecx, 2
add eax, 2
test dl, dl
jne 0x401640
xor eax, eax
jmp 0x401665
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401677
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x401682
inc esi
cmp esi, ebp
jae 0x401695
mov edx, dword [esp + 0x10]
jmp 0x401636
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x4018f9
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x401904
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x401918
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x40191c
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x401955
cmp dword [edi + ecx], 0x4550
jne 0x401955
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x401955
test byte [edi + ecx + 0x16], 2
je 0x401955
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x40195a
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x401996
xor eax, eax
jmp 0x401979
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x40199f
inc edx
movzx eax, dx
cmp eax, edi
jl 0x401979
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret