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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x450158]
cmp byte [eax + 0xc], 0
je 0x438481
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43847a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x451b6c], 0
jne 0x438368
push 0x438488
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x438490
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b6c], eax
cmp dword [0x44fb3c], 0
jne 0x438463
push 0x4384a0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44fb3c], eax
cmp dword [0x44fb3c], 0
je 0x438463
push 0x4384ac
mov eax, dword [0x44fb3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b70], eax
push 0x4384bc
mov eax, dword [0x44fb3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b74], eax
push 0x4384d0
mov eax, dword [0x44fb3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b78], eax
push 0x4384e8
mov eax, dword [0x44fb3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b7c], eax
push 0x438500
mov eax, dword [0x44fb3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b80], eax
push 0x438514
mov eax, dword [0x44fb3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b84], eax
push 0x43852c
mov eax, dword [0x44fb3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b88], eax
push 0x438544
mov eax, dword [0x44fb3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b8c], eax
push 0x438560
mov eax, dword [0x44fb3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b90], eax
push 0x43856c
mov eax, dword [0x44fb3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438481
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43c30c
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.00403fd4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43c35b
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.00404244
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443a70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443ac0]
test si, 4
je 0x443a84
or bl, 1
test si, 8
je 0x443a8e
or bl, 4
test si, 1
je 0x443a98
or bl, 8
test si, 2
je 0x443aa2
or bl, 0x10
test si, 0x10
je 0x443aac
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443abb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x443ac4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443afc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443add
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443aec
or bl, 4
test esi, 0x20000000
je 0x443af7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44a1a4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44a1b6
add esp, 0xfffffff0
call fcn.004035a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004191b0
mov eax, dword [0x44fe34]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a548
mov eax, dword [0x44fe40]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a554
mov eax, ebx
call fcn.0044a560
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411458]
call fcn.0040326c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411458]
call fcn.0040326c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411458]
call fcn.0040326c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411458]
call fcn.0040326c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411458]
call fcn.0040326c
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, 0x44697c
push eax
push 0
push 0
mov eax, dword [0x44ff84]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41abdc]
call fcn.0041c020
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41abdc]
call fcn.0041c020
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41abdc]
call fcn.0041c020
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044a980
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a85c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a85c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a85c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a2f3
call fcn.00403600
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44a640
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 0x44a7eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44a7cc
mov dl, 1
mov eax, dword [0x411874]
call fcn.0040326c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403fd4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44a7bb
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.00438674
test al, al
je 0x44a7ae
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, 0x44a7fc
lea eax, [ebp - 0x254]
call fcn.00408a0c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44a7ae
xor eax, eax
push ebp
push 0x44a7a7
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 0x44a834
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44a790
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404244
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 0x44a790
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404244
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a7ae
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44a6b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415350
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 0x44a7f2
lea eax, [ebp - 0x260]
call fcn.00403fd4
ret

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

Disassembly:
push ecx
mov eax, dword [0x451bb8]
cmp byte [eax + 0xa5], 0
jne 0x44b191
cmp dword [0x451bd0], 0
jne 0x44b152
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44b0dc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x451bd0], eax
cmp dword [0x451bcc], 0
jne 0x44b16d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x451bcc], eax
cmp dword [0x451bd4], 0
jne 0x44b191
push esp
push 0
push 0
push 0x44b080
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x451bd4], eax
pop edx
ret
Function at 0x44b288
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44b29f
add esp, 0xfffffff0
call fcn.004035a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004191b0
mov eax, dword [0x44ff70]
cmp word [eax + 2], 0
jne 0x44b2c7
mov eax, dword [0x44ff70]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c978
mov eax, dword [0x450018]
cmp word [eax + 2], 0
jne 0x44b2e1
mov eax, dword [0x450018]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044cb70
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411458]
call fcn.0040326c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411458]
call fcn.0040326c
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 [0x41b38c]
call fcn.00420fd4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44b468
mov eax, dword [0x44fe98]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004213a4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44d110
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44fe98]
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.0040c048
test eax, eax
je 0x44b3d6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408400
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c070
test eax, eax
je 0x44b3ea
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.00404244
mov eax, dword [0x44fd94]
cmp byte [eax], 0
jne 0x44b41e
mov eax, ebx
call fcn.0044b590
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.0044d2ec
mov eax, ebx
call fcn.0044dcb0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b45e
call fcn.00403600
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b810
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x451bb8]
cmp dword [eax + 0x30], 0
je 0x44b8ba
cmp dword [ebx + 0x94], 0
jne 0x44b8b4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44b7a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44b8b4
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 0x44b87a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44b8b4
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.004137c0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44b889
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44c41c
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 0x44c451
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.004040c4
jmp 0x44c45e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404028
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44d4c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d509
mov eax, esi
call fcn.00433e7c
test al, al
je 0x44d509
mov eax, dword [ebx + 0x84]
call fcn.00433c1c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d509
push 0
mov eax, dword [ebx + 0x84]
call fcn.00433c1c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp esi, eax
jae 0x44e0cf
pop esi
pop ebx
ret
Function at 0x2d3122
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x2db084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
mov word [ebp - 0xc], ax
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
xor ebx, ebx
stosw word es:[edi], ax
test esi, esi
je 0x2d31ba
mov eax, esi
push 2
lea edx, [eax + 2]
pop edi
mov cx, word [eax]
add eax, edi
test cx, cx
jne 0x2d3154
sub eax, edx
sar eax, 1
cmp eax, edi
jb 0x2d31ba
push esi
call fcn.002d31d7
test al, al
jne 0x2d4cb3
cmp word [esi], 0x5c
je 0x2d4ca4
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
jne 0x2d4cb3
mov ax, word [esi]
mov word [ebp - 0xc], ax
mov ax, word [esi + 2]
push 0x5c
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, edi
je 0x2d31cd
dec eax
jne 0x2d4cbb
mov ebx, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.002d235b
leave
ret 4
xor ebx, ebx
inc ebx
jmp 0x2d31ba
cmp word [esi + 2], 0x5c
jne 0x2d317e
push 3
jmp 0x2d4cb5
push 6
pop ebx
jmp 0x2d31ba
dec eax
je 0x2d4caf
dec eax
je 0x2d4ccf
dec eax
je 0x2d4ccb
xor ebx, ebx
jmp 0x2d31ba
push 5
jmp 0x2d4cb5
push 4
jmp 0x2d4cb5

Function at 0x2d3792
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x2d5e24
cmp dword [ebp - 8], 4
jl 0x2d5e30
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push ebx
mov edi, 0x2d3834
push edi
push dword [esi + 4]
call fcn.002d383f
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
je 0x2d3823
test al, 3
jne 0x2d3823
mov ebx, dword [ebp + 0xc]
push ebx
push edi
push dword [esi + 8]
call fcn.002d383f
add esp, 0xc
cmp dword [ebx], 0
je 0x2d3823
mov edi, dword [ebp + 8]
push edi
push 0x2d382c
push dword [esi + 0xc]
call fcn.002d383f
add esp, 0xc
cmp dword [edi], 0
je 0x2d3823
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
pop esi
leave
ret 0xc
mov dword [ebp - 4], 0xc000000d
jmp 0x2d3812
mov dword [ebp - 4], 0xc0000017
jmp 0x2d3814
mov dword [ebp - 4], 0xc000000d
jmp 0x2d3814
Function at 0x2d4043
Capabilities:
Read file via mapping

Disassembly:
push 0x30
push 0x2d40f0
call fcn.002d1b44
xor esi, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
mov ebx, dword [ebp + 0xc]
mov dword [ebx], esi
push esi
push esi
push esi
push 2
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp + 0xc], eax
cmp eax, esi
je 0x2d40e5
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, esi
je 0x2d40e5
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x2d40e5
mov dword [ebp - 4], esi
lea eax, [ebp + 8]
push eax
push esi
push dword [ebp - 0x34]
push edi
push esi
call dword [0x2d124c]
cmp eax, esi
jl 0x2d6634
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
mov dword [ebp - 4], 0xfffffffe
cmp edi, esi
je 0x2d40cc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp + 0xc], esi
je 0x2d40da
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
call fcn.002d1b89
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x2d662c
mov dword [ebp - 0x1c], eax
jmp 0x2d40c1
push eax
call dword [fcn.002d123c]
mov dword [ebp - 0x1c], eax
jmp 0x2d40ba
Function at 0x2d7062
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
push 0x10
push 0x40
call ebx
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jne 0x2d7084
push 8
pop eax
jmp 0x2d70d6
push esi
mov esi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x14
push 0x40
movsd dword es:[edi], dword [esi]
call ebx
xor esi, esi
cmp eax, esi
je 0x2d70c9
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
push esi
push esi
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
push eax
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
push 0x2d6ce9
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x1c]
push esi
push esi
mov dword [eax + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
jne 0x2d70ce
push 8
pop eax
jmp 0x2d70d5
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 0x18
Function at 0x2d8719
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
xor edi, edi
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push 0x2d8239
push edi
push edi
mov dword [0x2db468], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
jne 0x2d878f
mov eax, dword [0x2db080]
cmp eax, 0x2db080
je 0x2d87d3
test byte [eax + 0x1c], 4
je 0x2d87d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x2db080]
push 0x2d2618
push 0x3c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d7fdf
jmp 0x2d87d3
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x2d87cc
mov eax, dword [0x2db080]
cmp eax, 0x2db080
je 0x2d87cc
test byte [eax + 0x1c], 4
je 0x2d87cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x2db080]
push 0x2d2618
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.002d7fdf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [0x2db468], edi
pop edi
sete al
pop esi
leave
ret 8

Function at 0x2d8d72
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x2d8df4
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x2d8df4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x2d8ded
and dword [ebp + 0xc], 0xf
jbe 0x2d8dc0
mov ecx, dword [ebp + 0xc]
dec ecx
movzx edx, word [eax]
lea eax, [eax + edx*2 + 2]
jne 0x2d8db6
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x2d8ddc
push esi
movzx esi, word [eax]
neg esi
sbb esi, esi
lea edx, [eax + 2]
and esi, edx
mov dword [ecx], esi
mov ecx, dword [ebp + 0x18]
pop esi
jmp 0x2d8de3
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x2d8de9
mov ax, word [eax]
mov word [ecx], ax
xor eax, eax
jmp 0x2d8df9
mov eax, 0x80004005
jmp 0x2d8df9
call fcn.002d8eea
pop ebp
ret 0x14
Function at 0x402a30
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x423ff0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402ac4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a81
cmp dword [ebp + 0x10], ebx
jne 0x402ab8
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a30
test eax, eax
jne 0x402a93
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a68
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405d94
cmp eax, ebx
je 0x402acb
push ebx
push dword [0x423ff0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402ac4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x423ff0], ebx
jne 0x402ac1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ac1
jmp 0x402ac4
Function at 0x403007
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x10], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x4170ec]
mov edi, eax
sub esi, dword [0x40b01c]
add edi, 0x1f4
add esi, dword [esp + 0x1c]
cmp esi, ebp
jle 0x4031dd
push dword [0x41f0fc]
call fcn.0040321a
push ebp
push ebp
push dword [0x40b01c]
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41f0f8], esi
mov dword [0x4170e8], ebp
mov eax, dword [0x4170f0]
mov ebx, 0x4000
sub eax, dword [0x41f0fc]
cmp eax, ebx
jg 0x40307a
mov ebx, eax
mov esi, 0x4130a8
push ebx
push esi
call fcn.004031e8
test eax, eax
je 0x4031a8
add dword [0x41f0fc], ebx
mov dword [0x40b038], esi
mov dword [0x40b03c], ebx
cmp dword [0x423f4c], ebp
je 0x40310b
cmp dword [0x423fe0], ebp
jne 0x40310b
cmp dword [esp + 0x10], ebp
je 0x4030d8
mov eax, dword [0x41f0f8]
push ebp
sub eax, dword [0x4170ec]
sub eax, dword [esp + 0x20]
add eax, dword [0x40b01c]
mov dword [0x4170e8], eax
call fcn.00405dcd
jmp 0x40310b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jbe 0x40310b
mov eax, dword [0x423f48]
neg eax
sbb eax, eax
not eax
and eax, str.unpacking_data:__d__
push eax
push 0x402b35
push ebp
push 0x6f
push dword [0x423f40]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [esp + 0x10], eax
mov ecx, 0x40b020
mov dword [0x40b040], 0x40b0a8
mov dword [0x40b044], 0x8000
call fcn.00405e8e
test eax, eax
jl 0x4031b1
mov esi, dword [0x40b040]
mov eax, 0x40b0a8
sub esi, eax
je 0x403172
lea ecx, [esp + 0x14]
push ebp
push ecx
push esi
push eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4031ad
cmp esi, dword [esp + 0x14]
jne 0x4031ad
add dword [0x40b01c], esi
cmp dword [0x40b03c], ebp
jne 0x4030a0
jmp 0x40317e
cmp dword [0x40b03c], ebp
jne 0x4031b1
cmp ebx, ebp
je 0x4031b1
mov eax, dword [0x4170ec]
mov ecx, eax
sub ecx, dword [0x40b01c]
add ecx, dword [esp + 0x1c]
test ecx, ecx
jg 0x403064
push ebp
push ebp
push eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4031b6
or eax, 0xffffffff
jmp 0x4031df
push 0xfffffffffffffffe
jmp 0x4031b3
push 0xfffffffffffffffd
pop eax
jmp 0x4031df
mov esi, dword [esp + 0x10]
cmp esi, ebp
je 0x4031dd
mov eax, dword [0x41f0f8]
push ebp
push ebp
push 0x113
push esi
mov dword [0x4170e8], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4