joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4504c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4504fc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4504dd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4504ec
or bl, 4
test esi, 0x20000000
je 0x4504f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x456ba4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456bb6
add esp, 0xfffffff0
call fcn.0040356c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419498
mov eax, dword [0x45ceec]
mov dword [eax + 4], ebx
mov dword [eax], 0x456f48
mov eax, dword [0x45cef8]
mov dword [eax + 4], ebx
mov dword [eax], 0x456f54
mov eax, ebx
call fcn.00456f60
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411778]
call fcn.00403218
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411778]
call fcn.00403218
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411778]
call fcn.00403218
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411778]
call fcn.00403218
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411778]
call fcn.00403218
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, 0x45337c
push eax
push 0
push 0
mov eax, dword [0x45d050]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41af1c]
call fcn.0041c690
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41af1c]
call fcn.0041c690
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41af1c]
call fcn.0041c690
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457380
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45725c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45725c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45725c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456cf3
call fcn.004035c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457040
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 0x4571eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4571cc
mov dl, 1
mov eax, dword [0x411b94]
call fcn.00403218
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f98
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4571bb
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.00444b78
test al, al
je 0x4571ae
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, 0x4571fc
lea eax, [ebp - 0x254]
call fcn.00408b08
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4571ae
xor eax, eax
push ebp
push 0x4571a7
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 0x457234
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457190
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
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 0x457190
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4571ae
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4570b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415688
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 0x4571f2
lea eax, [ebp - 0x260]
call fcn.00403f98
ret

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

Disassembly:
push ecx
mov eax, dword [0x45ebe4]
cmp byte [eax + 0xa5], 0
jne 0x457b91
cmp dword [0x45ebfc], 0
jne 0x457b52
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457adc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45ebfc], eax
cmp dword [0x45ebf8], 0
jne 0x457b6d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45ebf8], eax
cmp dword [0x45ec00], 0
jne 0x457b91
push esp
push 0
push 0
push 0x457a80
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45ec00], eax
pop edx
ret
Function at 0x457c88
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457c9f
add esp, 0xfffffff0
call fcn.0040356c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419498
mov eax, dword [0x45d03c]
cmp word [eax + 2], 0
jne 0x457cc7
mov eax, dword [0x45d03c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459360
mov eax, dword [0x45d0e8]
cmp word [eax + 2], 0
jne 0x457ce1
mov eax, dword [0x45d0e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459558
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411778]
call fcn.00403218
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411778]
call fcn.00403218
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 [0x41b9fc]
call fcn.00422dfc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457e68
mov eax, dword [0x45cf54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004231cc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459af8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45cf54]
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.0040c1d8
test eax, eax
je 0x457dd6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004084fc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c200
test eax, eax
je 0x457dea
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.00404208
mov eax, dword [0x45ce3c]
cmp byte [eax], 0
jne 0x457e1e
mov eax, ebx
call fcn.00457f90
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.00459cd4
mov eax, ebx
call fcn.0045a698
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457e5e
call fcn.004035c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458210
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45ebe4]
cmp dword [eax + 0x30], 0
je 0x4582ba
cmp dword [ebx + 0x94], 0
jne 0x4582b4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4581a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4582b4
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 0x45827a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4582b4
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.00413ae0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458289
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458e1c
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 0x458e51
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.00404088
jmp 0x458e5e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459eb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459ef1
mov eax, esi
call fcn.00440160
test al, al
je 0x459ef1
mov eax, dword [ebx + 0x84]
call fcn.0043fe5c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459ef1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043fe5c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x402c60
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push esi
xor esi, esi
push edi
mov edi, dword [0x423074]
mov dword [0x42c270], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
push 0x7d0
call edi
lea ecx, [esp + 0x10]
push ecx
call fcn.00401d70
mov ecx, eax
call fcn.004028e0
test eax, eax
jne 0x402cb1
cmp esi, 9
je 0x402d79
inc esi
cmp esi, 0xa
jl 0x402c86
mov esi, dword [0x4232e8]
push ebx
push ebp
push 0x33
call esi
push 0xf
mov ebp, eax
call esi
push 0x20
mov edi, eax
call esi
mov ebx, eax
push 0x21
mov dword [esp + 0x14], ebx
call esi
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x20]
mov esi, eax
sub esi, edx
cmp esi, 0x5a
mov dword [esp + 0x14], ecx
jl 0x402cf0
sub eax, ebx
mov ebx, eax
jmp 0x402d01
lea eax, [eax + edx + 0x25]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x10]
sar ebx, 1
sub ebx, eax
mov esi, dword [esp + 0x1c]
sub esi, ecx
sub esi, edi
sub esi, ebp
call fcn.00401d70
mov ecx, eax
call fcn.004014c0
mov edx, dword [esp + 0x10]
lea eax, [eax + edx*2]
mov dword [esp + 0x10], eax
call fcn.00401d70
mov ecx, eax
call fcn.00401500
mov ecx, dword [esp + 0x14]
add eax, edi
lea edi, [eax + ecx*2]
add edi, ebp
call fcn.00401d70
mov ecx, eax
call fcn.00401540
mov edx, dword [esp + 0x2c]
push 0
push edx
push 0
push eax
mov eax, dword [esp + 0x20]
push edi
push eax
push esi
push ebx
push 0xcf0000
push 0x42c1a8
push 0x42c0e0
push 0x80080
call dword [0x4232d4]
mov esi, eax
test esi, esi
pop ebp
pop ebx
jne 0x402d81
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret
push 0
push esi
call fcn.00401d70
mov ecx, eax
call fcn.00401810
push 0x13
push 0
push 0
push 0
push 0
push 1
push esi
call dword [0x4232d8]
push 4
push esi
call dword [0x4232dc]
push esi
call dword [0x4232e0]
pop edi
mov eax, 1
pop esi
add esp, 0x18
ret
Function at 0x4055c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x422241
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax]
lea esi, [edi + 0x48]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x28], 2
call fcn.00404860
mov eax, dword [esi + 4]
push eax
call fcn.004162b8
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0x40]
mov ecx, dword [eax]
add esp, 4
lea esi, [edi + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.00404860
mov edx, dword [esi + 4]
push edx
call fcn.004162b8
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0x30]
add esp, 4
cmp eax, ebx
je 0x405650
push eax
call fcn.004162b8
add esp, 4
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
cmp dword [edi + 0x28], 8
jb 0x40566b
mov eax, dword [edi + 0x14]
push eax
call fcn.004162b8
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], 7
mov word [edi + 0x14], bx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x405760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x422271
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov dword [esi + 0x28], 7
mov dword [esi + 0x24], ebp
push edi
mov dword [esp + 0xc], esi
mov word [esi + 0x14], bp
mov dword [esp + 0x18], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
lea edi, [esi + 0x3c]
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.00403870
mov dword [edi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x48]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.00403870
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
pop edi
mov dword [esi], 0xffffffff
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x407bf0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x42b130]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
push eax
push ecx
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00407a70
mov ecx, dword [esp + 0x68]
lea eax, [esp]
push eax
push ecx
call fcn.00407b30
mov ecx, dword [esp + 0x58]
call fcn.00415f8e
add esp, 0x5c
ret 0xc

Function at 0x407db0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4223f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x42b130]
push ebx
xor ebx, ebx
mov dword [esp + 0x218], eax
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x22c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x104
push edx
mov dword [esp + 0x234], ebx
call dword [0x4230b8]
cmp eax, ebx
jne 0x407e29
mov eax, dword [esp + 4]
cmp eax, ebx
mov dword [esp + 0x224], 0xffffffff
je 0x407e1f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x407f1a
push esi
lea edx, [esp + 8]
push edx
push 0x426e10
push 1
push ebx
push 0x426e20
call dword [0x423338]
mov esi, eax
cmp esi, ebx
jl 0x407efe
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0xc], ebx
je 0x407e6b
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4242a4
push eax
call dword [ecx]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x230], 1
call dword [ecx + 0x50]
mov esi, eax
cmp esi, ebx
jl 0x407e9c
mov edx, dword [esp + 0x234]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x407ecc
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x228], bl
je 0x407eb1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0x228], 0xffffffff
je 0x407f17
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x407f17
mov esi, dword [esp + 0x238]
push esi
call dword [0x4230b4]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x228], bl
je 0x407efe
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0x228], 0xffffffff
je 0x407f17
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x218]
pop ebx
call fcn.00415f8e
add esp, 0x224
ret
Function at 0x407f40
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4223f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x42b130]
push ebx
xor ebx, ebx
mov dword [esp + 0x218], eax
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x22c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x104
push edx
mov dword [esp + 0x234], ebx
call dword [0x4230b8]
cmp eax, ebx
jne 0x407fb9
mov eax, dword [esp + 4]
cmp eax, ebx
mov dword [esp + 0x224], 0xffffffff
je 0x407faf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x4080df
push esi
lea edx, [esp + 8]
push edx
push 0x426e10
push 1
push ebx
push 0x426e20
call dword [0x423338]
mov esi, eax
cmp esi, ebx
jl 0x4080c3
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0xc], ebx
je 0x407ffb
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4242a4
push eax
call dword [ecx]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x230], 1
call dword [ecx + 0x50]
mov esi, eax
cmp esi, ebx
jl 0x408061
mov edx, dword [esp + 0x23c]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
mov esi, eax
cmp esi, ebx
jl 0x408061
mov edx, dword [esp + 0x234]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x408061
mov edx, dword [esp + 0x240]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x44]
mov esi, eax
cmp esi, ebx
jge 0x408091
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x228], bl
je 0x408076
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0x228], 0xffffffff
je 0x4080dc
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4080dc
mov esi, dword [esp + 0x238]
push esi
call dword [0x4230b4]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x228], bl
je 0x4080c3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0x228], 0xffffffff
je 0x4080dc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x218]
pop ebx
call fcn.00415f8e
add esp, 0x224
ret
Function at 0x408720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x422428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00403ac0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.004034c0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4087b2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4099e0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
shl eax, 1
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [section..rdata]
test eax, eax
jne 0x409a4d
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x409a25
cmp eax, 2
jne 0x409a3d
test esi, esi
mov eax, dword [esp + 0x14]
je 0x409a47
test al, 1
jne 0x409a3d
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x409a47
pop edi
mov eax, 0xd
pop esi
ret 0xc
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x409cb0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x409ceb
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp word [ecx], 0x5a4d
jne 0x409ceb
cmp dword [eax], 0x4550
jne 0x409ceb
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x409ceb
cmp dword [eax + ecx + 0xc], 2
jne 0x409ceb
mov eax, dword [eax + ecx + 0x14]
add eax, ecx
cmp dword [eax], 0x53445352
je 0x409ced
xor eax, eax
ret

Function at 0x409cf0
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
push ebx
push 1
push 0
push eax
call dword [0x4230f4]
mov ebx, eax
test bl, 1
lea ecx, [ebx - 1]
jne 0x409d0c
mov ecx, ebx
test ebx, ebx
je 0x409d7b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp word [ecx], 0x5a4d
jne 0x409d74
cmp dword [eax], 0x4550
jne 0x409d74
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [eax + 8]
mov dword [edx], esi
mov eax, dword [eax + 0x50]
push ecx
mov dword [edx + 4], eax
call fcn.00409cb0
add esp, 4
test eax, eax
je 0x409d65
push edi
lea ecx, [eax + 4]
mov edi, dword [ecx]
lea esi, [edx + 8]
mov dword [esi], edi
mov edi, dword [ecx + 4]
mov dword [esi + 4], edi
mov edi, dword [ecx + 8]
mov dword [esi + 8], edi
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x14]
mov dword [edx + 0x18], eax
pop edi
push ebx
call dword [0x4231f0]
pop esi
mov eax, 1
pop ebx
ret
push ebx
call dword [0x4231f0]
xor eax, eax
pop ebx
ret

Function at 0x409d80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
mov eax, dword [0x42b130]
push esi
mov dword [esp + 0x8c], eax
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
call dword [0x423004]
test eax, eax
jne 0x409e1b
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push 0x4247e0
push eax
mov dword [esp + 0x20], 0x80
call dword [section..rdata]
test eax, eax
jne 0x409e10
mov ax, word [esp + 0xc]
cmp ax, 0x36
jne 0x409deb
mov esi, 1
jmp 0x409e10
cmp ax, 0x37
jne 0x409df8
mov esi, 2
jmp 0x409e10
cmp ax, 0x38
jne 0x409e05
mov esi, 3
jmp 0x409e10
cmp ax, 0x39
jne 0x409e10
mov esi, 4
mov ecx, dword [esp + 4]
push ecx
call dword [0x423010]
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop esi
call fcn.00415f8e
add esp, 0x8c
ret