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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x466590]
cmp byte [eax + 0xc], 0
je 0x43af7d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43af76
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x467bbc], 0
jne 0x43ae64
push 0x43af84
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43af8c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467bbc], eax
cmp dword [0x4659d0], 0
jne 0x43af5f
push 0x43af9c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4659d0], eax
cmp dword [0x4659d0], 0
je 0x43af5f
push 0x43afa8
mov eax, dword [0x4659d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467bc0], eax
push 0x43afb8
mov eax, dword [0x4659d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467bc4], eax
push 0x43afcc
mov eax, dword [0x4659d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467bc8], eax
push 0x43afe4
mov eax, dword [0x4659d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467bcc], eax
push 0x43affc
mov eax, dword [0x4659d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467bd0], eax
push 0x43b010
mov eax, dword [0x4659d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467bd4], eax
push 0x43b028
mov eax, dword [0x4659d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467bd8], eax
push 0x43b040
mov eax, dword [0x4659d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467bdc], eax
push 0x43b05c
mov eax, dword [0x4659d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467be0], eax
push 0x43b068
mov eax, dword [0x4659d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x467be4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43af7d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43eb90
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.00404484
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43ebdf
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.004046ec
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446a20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446a70]
test si, 4
je 0x446a34
or bl, 1
test si, 8
je 0x446a3e
or bl, 4
test si, 1
je 0x446a48
or bl, 8
test si, 2
je 0x446a52
or bl, 0x10
test si, 0x10
je 0x446a5c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446a6b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x446a74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446aac]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446a8d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446a9c
or bl, 4
test esi, 0x20000000
je 0x446aa7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44d0b0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44d0c2
add esp, 0xfffffff0
call fcn.00403a7c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c75c
mov eax, dword [0x466154]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d454
mov eax, dword [0x466164]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d460
mov eax, ebx
call fcn.0044d46c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.004036e8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.004036e8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.004036e8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.004036e8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.004036e8
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, 0x449934
push eax
push 0
push 0
mov eax, dword [0x466314]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e114]
call fcn.0041f7e8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e114]
call fcn.0041f7e8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e114]
call fcn.0041f7e8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044d88c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d768
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d768
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d768
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d1ff
call fcn.00403ad4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d54c
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 0x44d6f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d6d8
mov dl, 1
mov eax, dword [0x4125e8]
call fcn.004036e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404484
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d6c7
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.0043b170
test al, al
je 0x44d6ba
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, 0x44d708
lea eax, [ebp - 0x254]
call fcn.00409608
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d6ba
xor eax, eax
push ebp
push 0x44d6b3
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 0x44d740
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d69c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046ec
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 0x44d69c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d6ba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d5bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416cc4
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 0x44d6fe
lea eax, [ebp - 0x260]
call fcn.00404484
ret

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

Disassembly:
push ecx
mov eax, dword [0x467c00]
cmp byte [eax + 0xa5], 0
jne 0x44e09d
cmp dword [0x467c18], 0
jne 0x44e05e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44dfe8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x467c18], eax
cmp dword [0x467c14], 0
jne 0x44e079
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x467c14], eax
cmp dword [0x467c1c], 0
jne 0x44e09d
push esp
push 0
push 0
push 0x44df8c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x467c1c], eax
pop edx
ret
Function at 0x44e194
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44e1ab
add esp, 0xfffffff0
call fcn.00403a7c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c75c
mov eax, dword [0x4662f8]
cmp word [eax + 2], 0
jne 0x44e1d3
mov eax, dword [0x4662f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f7c8
mov eax, dword [0x4663d4]
cmp word [eax + 2], 0
jne 0x44e1ed
mov eax, dword [0x4663d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f9c0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412040]
call fcn.004036e8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412040]
call fcn.004036e8
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], 0x80000018
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 [0x41eb94]
call fcn.00425e9c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44e374
mov eax, dword [0x4661dc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042626c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44ff40
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4661dc]
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.0040b228
test eax, eax
je 0x44e2e2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f50
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b250
test eax, eax
je 0x44e2f6
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.004046ec
mov eax, dword [0x466038]
cmp byte [eax], 0
jne 0x44e32a
mov eax, ebx
call fcn.0044e49c
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.0045011c
mov eax, ebx
call fcn.00450a5c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e36a
call fcn.00403ad4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e710
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x467c00]
cmp dword [eax + 0x30], 0
je 0x44e7ba
cmp dword [ebx + 0x94], 0
jne 0x44e7b4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e6a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e7b4
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 0x44e77a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e7b4
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.00414820
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e789
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f298
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 0x44f2cd
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.00404574
jmp 0x44f2da
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044d8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4502f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x450339
mov eax, esi
call fcn.004368ec
test al, al
je 0x450339
mov eax, dword [ebx + 0x84]
call fcn.004365e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450339
push 0
mov eax, dword [ebx + 0x84]
call fcn.004365e8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45199c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404934
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4519f4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46659c]
mov dl, 1
mov eax, dword [0x451554]
call fcn.0040a7f4
call fcn.00403ee4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045165c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46034c
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00403004
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x4620a8
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x4620b1
mov eax, dword [ebp - 4]
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x462238
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x46224c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46222e
xor eax, eax
push ebp
push 0x462227
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, edi
call fcn.00404934
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 4], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x412954]
call fcn.0041759c
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x8000
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x8018]
push eax
push 0x16
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpQueryInfoA
test bl, bl
je 0x46216d
lea edx, [ebp - 0x8018]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 4], 0
je 0x462210
xor eax, eax
push ebp
push 0x462209
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4621eb
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4621a6
lea edx, [ebp - 0x8018]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x8018]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x4621c8
cmp dword [ebp - 0xc], 0
ja 0x462195
mov eax, esi
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 4]
call fcn.004044d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4621f2
mov eax, dword [ebp - 0x14]
call fcn.00403718
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46222e
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462242
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462708
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46279b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x100]
call fcn.0040910c
call fcn.00402a74
push dword [ebx]
mov eax, 0xf4240
call fcn.00403024
lea edx, [ebp - 0x104]
call fcn.004089d8
push dword [ebp - 0x104]
push 0x4627b0
mov eax, ebx
mov edx, 3
call fcn.004047fc
mov eax, dword [ebx]
call fcn.00408c6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4627a2
lea eax, [ebp - 0x104]
call fcn.00404484
ret
Function at 0x4633a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404924
xor eax, eax
push ebp
push 0x46344c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x205]
mov edx, dword [ebp - 4]
call fcn.00408fac
lea eax, [ebp - 0x24c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403004
mov dword [ebp - 0x24c], 0x44
mov dword [ebp - 0x220], 1
test bl, bl
je 0x463405
mov eax, 1
jmp 0x463407
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x24c]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x205]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463453
lea eax, [ebp - 4]
call fcn.00404484
ret

Function at 0x463bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404924
xor eax, eax
push ebp
push 0x463ce2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040451c
push 0xa
mov eax, dword [ebp - 0xc]
call fcn.00404934
push eax
mov eax, dword [0x467718]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x463cbc
push ebx
mov eax, dword [0x467718]
push eax
call sub.kernel32.dll_SizeofResource
mov edi, eax
push ebx
mov eax, dword [0x467718]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
xor edx, edx
push ebp
push 0x463ca4
push dword fs:[edx]
mov dword fs:[edx], esp
test ebx, ebx
je 0x463c9a
push edi
push 0
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
push esi
call sub.kernel32.dll_GlobalLock
mov ecx, edi
mov edx, ebx
call fcn.004073bc
lea eax, [ebp - 0x10]
call fcn.004062e4
push eax
push 0
push esi
call sub.ole32.dll_CreateStreamOnHGlobal
push 0
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x450cb4]
call fcn.00450e70
mov dword [ebp - 8], eax
push esi
call sub.kernel32.dll_GlobalUnlock
lea eax, [ebp - 0x10]
call fcn.004062e4
push ebx
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463cbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463ce9
lea eax, [ebp - 0x10]
call fcn.004062e4
lea eax, [ebp - 0xc]
call fcn.00404484
lea eax, [ebp - 4]
call fcn.00404484
ret

Function at 0x464838
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [0x467d58]
mov eax, 0x46487c
call fcn.00404a78
test eax, eax
jle 0x464872
push 1
push 0
push 0
mov eax, dword [0x467d58]
call fcn.00404934
push eax
push 0x464884
mov eax, ebx
call fcn.004365e8
push eax
call sub.shell32.dll_ShellExecuteA
pop ebx
ret
Function at 0x5c1060
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc edx
bswap edx
xor edx, 0x2b2f2825
cmp esi, esi
neg edx
jmp 0x57cfc4
dec edx
xor ebx, edx
cmp esp, edi
add esi, edx
push esi
ret
push eax
cbw
cwde
push ecx
push ebx
jmp 0x5cddab
push edx
push edi
movzx edx, bp
bswap ebx
pushfd
cmp bl, dh
push ebp
xor edi, 0x58d209af
bt di, bp
rdtsc
push esi
shl ah, cl
rdtsc
mov eax, 0
stc
push eax
xor edx, ebp
mov edi, dword [esp + 0x28]
neg edi
rcr ebp, 9
bswap edi
add edi, 0x7d72321c
rcr bp, 0xaa
bt bp, sp
rol edi, 1
xor edi, 0x636643e4
add esi, 0x272a7672
sub edi, 0x7f2d0dc6
not edi
sub bp, 0x29a3
and ebx, 0x43c674e3
lea edi, [edi + 0x29ce5357]
sub esi, esp
clc
xor si, 0x5f7d
lea edi, [edi + eax]
mov ebp, esp
lea esp, [esp - 0xc0]
adc edx, eax
inc dl
mov ebx, edi
mov eax, 0
add dh, al
stc
shl edx, cl
sub ebx, eax
cmp cl, ah
sar si, 0x8e
lea esi, [0x5cde3c]
adc dh, 0x38
lea edi, [edi - 4]
shld edx, edi, 0x44
mov edx, dword [edi]
xor edx, ebx
test di, 0x66ec
test edi, ecx
neg edx
jmp 0x56eaec
Function at 0x100315fe
Capabilities:
Terminate process

Disassembly:
jmp 0x1006b8bf
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1006b8d0
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.10032a53
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x10031694
Capabilities:
Query environment variable

Disassembly:
jmp 0x1007539e
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100753af
pop esi
ret
push ebx
push edi
push esi
call fcn.10075285
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10031bd5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100753d7
push ebx
push esi
push edi
call fcn.10032909
add esp, 0xc
push 0
call fcn.10032f80
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10067526
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10067565
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10067565
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10067565
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10067565
cmp dword [ecx + 0x74], 0xe
jbe 0x10067565
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret