joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fdc8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x482bb8]
cmp dword [eax + 0x30], 0
je 0x45fe72
cmp dword [ebx + 0x94], 0
jne 0x45fe6c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45fd58
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45fe6c
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 0x45fe32
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45fe6c
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.00418f90
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45fe41
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4609d0
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 0x460a05
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.00404b20
jmp 0x460a12
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a84
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461bdc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461c1d
mov eax, esi
call fcn.00447ec0
test al, al
je 0x461c1d
mov eax, dword [ebx + 0x84]
call fcn.00447bbc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461c1d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447bbc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4626a0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffeec
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00404a30
test ebx, ebx
jg 0x4626dd
push 0x105
lea eax, [esp + 0x10]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
mov dword [esp + 8], eax
lea edx, [esp + 0xc]
mov eax, esi
mov ecx, dword [esp + 8]
call fcn.00404b20
jmp 0x46273d
call sub.kernel32.dll_GetCommandLineA_1
mov dword [esp], eax
mov eax, esp
xor ecx, ecx
xor edx, edx
call fcn.004624b8
dec ebx
test ebx, ebx
je 0x462706
mov eax, esp
xor ecx, ecx
xor edx, edx
call fcn.004624b8
test al, al
je 0x46273d
jmp 0x4626f0
mov eax, dword [esp]
mov dword [esp + 4], eax
lea ecx, [esp + 8]
lea eax, [esp + 4]
xor edx, edx
call fcn.004624b8
test al, al
je 0x46273d
mov eax, esi
mov edx, dword [esp + 8]
call fcn.0040507c
mov eax, dword [esi]
call fcn.00404ef0
mov edx, eax
mov eax, esp
xor ecx, ecx
call fcn.004624b8
add esp, 0x114
pop esi
pop ebx
ret
Function at 0x462a60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x462bd2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [esi], eax
mov eax, edi
call fcn.00404a30
lea eax, [ebp - 0xc]
push eax
mov eax, ebx
call fcn.00404ef0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x462bb7
mov eax, dword [ebp - 0xc]
call fcn.00402a88
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x462bb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404ef0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x462b97
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x462be0
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x462b97
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
and eax, dword [edx + 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00409138
push dword [ebp - 0x14]
push 0x462bec
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00409138
push dword [ebp - 0x18]
push 0x462bec
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00409138
push dword [ebp - 0x1c]
push 0x462bec
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00409138
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.00404db0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462bb7
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00402ab8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462bd9
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404a54
ret

Function at 0x462cc0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0x462ce8
push 0x462ce8
mov eax, ebx
call fcn.00404ef0
push eax
push 0x462cec
push 0
call sub.shell32.dll_ShellExecuteA
pop ebx
ret
Function at 0x462cf4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov byte [ebp - 5], 0
xor eax, eax
mov dword [edi], eax
xor eax, eax
mov dword [esi], eax
mov eax, ebx
call fcn.00404ef0
push eax
mov eax, dword [ebp - 4]
call fcn.00404ef0
push eax
push 0
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x462d63
push ebx
push 0
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x462d63
push ebx
push 0
call sub.kernel32.dll_SizeofResource
mov dword [esi], eax
cmp dword [esi], 0
je 0x462d63
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LockResource
mov dword [edi], eax
cmp dword [edi], 0
setne byte [ebp - 5]
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x465710
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.00463b6e
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
aam 0xfe
invalid
call dword [eax - 0x18]
pop ecx
jecxz 0x465774
inc dword [ebx - 0x7a72f33c]
aam 0xfe
invalid
dec dword [ecx - 0x39f7b]
invalid
jmp 0x465ad6
Function at 0x466578
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4667d8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4665db
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00466040
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d4fc
cmp al, 1
jne 0x4665db
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00466358
test al, al
je 0x466767
cmp dword [ebp - 8], 0
jge 0x4665f9
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00466040
mov eax, dword [ebp - 0x210]
call fcn.00404cf0
cmp ebx, eax
jge 0x466643
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00466040
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x481758]
and eax, 0xff
bt dword [edx], eax
jae 0x466643
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x466657
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00466554
cmp ebx, dword [ebp - 8]
je 0x466759
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x466683
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403eac
and eax, 0x7f
movzx eax, word [eax*2 + 0x480fb0]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x466746
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403eac
and eax, 0x7f
movzx eax, word [eax*2 + 0x480fb0]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00447bbc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403eac
and eax, 0x7f
movzx eax, word [eax*2 + 0x480fb0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00447bbc
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46674d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4667ba
cmp dword [ebp - 8], 0
jge 0x466772
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00466040
mov eax, dword [ebp - 0x218]
call fcn.00404cf0
cmp eax, dword [ebp - 8]
jg 0x4667ac
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00466040
mov eax, dword [ebp - 0x21c]
call fcn.00404cf0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00466554
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4667df
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404a54
ret
Function at 0x471838
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x471868
cmp dword [esp + 4], 6
jb 0x471868
call fcn.00431c2c
call fcn.00431d0c
test al, al
je 0x471868
mov al, 1
jmp 0x47186a
xor eax, eax
add esp, 0x94
ret

Function at 0x47ac30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ad85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47acc6
xor eax, eax
push ebp
push 0x47acbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x47aca0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404c28
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00409a80
inc eax
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x47ac7e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47acc6
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeEnvironmentStringsA
ret
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x47ad67
inc esi
xor ebx, ebx
lea ecx, [ebp - 8]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 8]
call fcn.00404cf0
test eax, eax
jle 0x47ad5f
mov eax, dword [ebp - 8]
call fcn.00404ef0
mov edi, eax
push edi
push edi
call sub.user32.dll_OemToCharA
lea edx, [ebp - 8]
mov ecx, 1
mov eax, 0x47ad9c
call fcn.00404fd8
mov edx, dword [ebp - 8]
mov eax, 0x47ada8
call fcn.00405034
test eax, eax
jne 0x47ad43
mov eax, dword [ebp - 8]
call fcn.00404cf0
mov ecx, eax
inc ecx
lea edx, [ebp - 8]
mov eax, 0x47ad9c
call fcn.00404fd8
jmp 0x47ad52
lea edx, [ebp - 8]
mov ecx, eax
mov eax, 0x47ad9c
call fcn.00404fd8
mov ecx, dword [ebp - 8]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x20]
inc ebx
dec esi
jne 0x47acdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ad8c
lea eax, [ebp - 0x14]
call fcn.00404a30
lea eax, [ebp - 8]
call fcn.00404a30
ret
Function at 0x401e6d
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 1
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x401f03
push edi
push 0x24
push str.WifiAutoInstallSrv
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x401efb
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 1
je 0x401ef4
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 1
je 0x401ef1
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x64
jl 0x401ec7
jmp 0x401ef4
xor esi, esi
inc esi
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004020c3
mov esp, ebp
pop ebp
ret

Function at 0x403ec6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00403a7a
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x403f50

Function at 0x403efb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x403f50
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00403ac5
push eax
push esi
push dword [ebp + 8]
call fcn.00403a7a
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00403ab5
push eax
push ecx
fisttp word [eax - 0x8363]
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
invalid
inc ebp
Function at 0x404315
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00403ac5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403a7a
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00403ac5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403a7a
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00403ac5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403a7a
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00403ab5
ret
Function at 0x405816
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x7ac]
push eax
call fcn.00403ac5
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00403a26
add esp, 0xc
jmp 0x405a2d
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.00403ab5
jle 0x405aaa
xchg esi, eax
jnp 0x405a4a
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x405a98
mov ch, 0x60
cld
invalid
lea eax, [ebp - 0x714]
push eax
call fcn.00403ac5
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00403a7a
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x405a98
jmp fcn.00405457
cmp dword [ebp - 0x37c], 0
je 0x405aa6
jmp fcn.00405b5b
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x405aff
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
jmp fcn.00405457

Function at 0x40b2ab
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040af59
Function at 0x40474c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040696c
test esi, esi
jne 0x404782
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406ad4
jmp 0x4047a0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404690
mov edi, eax
test esi, esi
je 0x4047a0
cmp dword [ebx], 0
je 0x4047a0
dec esi
jmp 0x404789
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405ab8
mov byte [esp], al
cmp byte [esp], 0
jne 0x405855
test edi, edi
je 0x405855
mov byte [esp + 1], 0
test ebp, ebp
jle 0x40578c
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x405767
cmp edi, 0xffffffff
je 0x40572b
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40572b
mov byte [esp], 0
jmp 0x405855
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405767
test ebx, ebx
jne 0x405760
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.004025dc
test eax, eax
jne 0x405760
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405855
pause
dec ebp
test ebp, ebp
jg 0x405710
cmp edi, 0xffffffff
je 0x40578c
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40578a
mov byte [esp], 0
jmp 0x405855
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4056da
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.004025dc
cmp ebx, eax
jne 0x40578c
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004058c8
mov edx, eax
mov ebx, dword [0x4ce8cc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4057f3
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4057f1
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4057f3
xor edi, edi
cmp byte [esp], 0
je 0x40581c
mov ebx, dword [esi]
test bl, 1
jne 0x405835
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.004025dc
cmp ebx, eax
jne 0x4057f9
mov byte [esp + 1], 1
jmp 0x405835
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.004025dc
cmp ebx, eax
jne 0x40581c
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4057a6
cmp byte [esp], 0
je 0x405855
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4065d0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ce054], 0
je 0x406631
cmp word [0x4ce330], 0xd7b2
jne 0x4065f9
cmp dword [0x4ce338], 0
jbe 0x4065f9
mov eax, 0x4ce32c
call dword [0x4ce348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40665c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4cb028], 0
jne 0x40664d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406828
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4cb02c], 0
je 0x406853
mov edx, edi
mov eax, esi
call dword [0x4cb02c]
mov ebx, eax
jmp 0x406864
mov eax, 8
call fcn.004043c4
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4ce055], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x4067f0
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x406899
mov edx, 8
mov eax, ebx
call fcn.004043e0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc