joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10047050
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1008f070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.10061367
add esp, 4
mov byte [ebp - 0x108], 0
test eax, eax
je 0x100470b4
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [ebp - 0x108], 0
je 0x100470b4
lea eax, [ebp - 0x108]
push eax
call dword [0x1008f09c]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10022c9a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10022c9a
mov esp, ebp
pop ebp
ret

Function at 0x100470d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10047050
Function at 0x1004a250
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x1004af00
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x1008f090]
mov edi, eax
add esp, 4
test edi, edi
jne 0x1004af2d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x1004af74
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x1004af7a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x1004afdb
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x1004afa0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x1004b007
mov eax, dword [esi + 4]
push 1
push 0x1007f4b4
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x1007f4b5
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x1004afe0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1004b030
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x1004b063
push 0x2e
push edi
call fcn.1004dcf0
add esp, 8
test eax, eax
je 0x1004b061
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x100662f0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1006616f

Function at 0x1006a2b0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10069f70
Function at 0x401090
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f4c0
push 0x40594c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401320
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push esi
mov esi, ecx
call fcn.004035e0
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4013a5
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40140f
push edi
lea ecx, [esp + 0xc]
lea edi, [esi + 0x88]
push ecx
push 0x104
mov ecx, edi
mov dword [esp + 0x14], 0x104
call fcn.00415b0c
mov edx, dword [esp + 0xc]
push eax
push 0
push 0
push str.RegisteredOwner
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00415b5b
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
jmp 0x40140f
lea ecx, [esp + 4]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4013eb
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push str.AltDefaultUserName
push ecx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0xc]
lea eax, [esi + 0x88]
push edx
push 0x42615c
push eax
call fcn.004144bb
mov ecx, dword [esp + 0x10]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.HomeDrive
call fcn.00405e15
add esp, 4
lea ecx, [esi + 0x8c]
push eax
call fcn.00415865
mov ecx, esi
call fcn.004035e0
mov ecx, esi
call fcn.00401450
mov eax, 1
pop esi
add esp, 0x10c
ret
Function at 0x4019b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41da88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x426e28]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], 0
mov dword [esp + 8], eax
lea eax, [esi + 0x8c]
mov bl, 1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.00415815
mov eax, dword [esi + 0x74]
test eax, eax
je 0x401a53
lea ecx, [esp + 0xc]
push str.Users_
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00415971
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.00415815
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.00415728
lea eax, [esi + 0x88]
lea ecx, [esp + 0xc]
push eax
call fcn.00415815
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.00415af4
push str.AppDataRoamingMicrosoftInternet_ExplorerQuick_Launch
jmp 0x401aa6
lea edx, [esp + 0xc]
push str.Documents_and_Settings_
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415971
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call fcn.00415815
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.00415728
lea ecx, [esi + 0x88]
push ecx
lea ecx, [esp + 0x10]
call fcn.00415815
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00415af4
push str.Application_DataMicrosoftInternet_ExplorerQuick_Launch
lea ecx, [esp + 0xc]
call fcn.00415ab8
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4264b8
call fcn.00415796
push 0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 4
call fcn.0041549d
mov ecx, esi
mov byte [esp + 0x30], bl
call fcn.00401b20
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.00415728
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00415728
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret
Function at 0x4028e0
Capabilities:
Create shortcut via ishelllink
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41dbd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x238]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x234], 1
call fcn.0041549d
lea ecx, [esp + 0x23c]
mov byte [esp + 0x230], 2
push ecx
lea ecx, [esp + 0x14]
call fcn.00415af4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x238]
push edx
call fcn.00415815
push 0x10000000
push ecx
lea eax, [esp + 0x240]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0041549d
mov ecx, esi
call fcn.004034f0
mov ecx, dword [esp + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [esp + 0x238]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
and al, 0xfe
push eax
push edx
call ebp
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x402aab
lea eax, [esp + 0xc]
push eax
push 0x420ee8
push 1
push 0
push 0x420ed8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x402a65
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 0x420ef8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jne 0x402a65
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x90]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [esp + 0xc]
push 0x4266d0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea edi, [esi + 0x7c]
push str.IEXPLORE.exe
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.00415971
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push eax
push ecx
mov edx, dword [ecx]
mov byte [esp + 0x238], 3
call dword [edx + 0x50]
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 2
call fcn.00415728
mov eax, dword [esp + 0xc]
mov edi, dword [edi]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push 0x104
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x238]
push 1
push eax
call ebp
push 0x80000000
push ecx
lea edx, [esp + 0x240]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0041549d
mov ecx, esi
call fcn.004034f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 1
call fcn.00415728
lea ecx, [esp + 0x238]
mov byte [esp + 0x230], 0
call fcn.00415728
lea ecx, [esp + 0x23c]
mov dword [esp + 0x230], 0xffffffff
call fcn.00415728
mov ecx, dword [esp + 0x228]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x228
ret 8
Function at 0x402b10
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41dbe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x426e28]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push str.lnkfile
push 0x80000000
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], 0x1e
call esi
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
push 0x1e
call fcn.00415b0c
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push str.IsShortcut
push ecx
call ebx
mov edi, eax
test edi, edi
jne 0x402baf
mov edx, dword [esp + 0x10]
push str.IsShortcut
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0x1e
push ecx
push 0xf003f
push 0
push str.piffile
push 0x80000000
call esi
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
push 0x1e
call fcn.00415b0c
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push str.IsShortcut
push ecx
call ebx
mov esi, eax
test esi, esi
jne 0x402c16
mov edx, dword [esp + 0x10]
push str.IsShortcut
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x10]
push eax
call ebp
test edi, edi
je 0x402c25
test esi, esi
jne 0x402c30
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x70], 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00415728
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x403290
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41dccb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push esi
mov esi, dword [esp + 0x230]
push edi
mov edi, ecx
push 0x10000000
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
call fcn.00415796
mov ecx, edi
call fcn.004034f0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
and al, 0xfe
push eax
push esi
call ebx
push esi
lea ecx, [esp + 0x10]
call fcn.00415796
push 0
mov dword [esp + 0x230], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x4033c6
lea eax, [esp + 0x14]
push eax
push 0x420ee8
push 1
push 0
push 0x420ed8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40338e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push 0x420ef8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jne 0x40338e
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
test eax, eax
jne 0x40338e
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x90]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 1
push esi
call ebx
push 0x80000000
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.00415796
mov ecx, edi
call fcn.004034f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 0xffffffff
call fcn.00415728
mov ecx, dword [esp + 0x224]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x224
ret 4
Function at 0x403400
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x8c0
push esi
push edi
push 2
lea eax, [esp + 0xcc]
push 0x400
push eax
mov dword [esp + 0x14], 0x64
mov dword [esp + 0x18], 0x50
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x7c]
push edx
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push str.Everyone
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
mov ecx, dword [esp + 0x8d0]
lea eax, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0xd0]
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
mov edi, dword [esp + 0x8cc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4c8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push 4
lea ecx, [esp + 0x4dc]
push 4
push ecx
call sub.ADVAPI32.dll_SetNamedSecurityInfoA
lea edx, [esp + 0xc8]
push 0
push edx
push 0
push 0
push 4
lea eax, [esp + 0x4dc]
push 4
push eax
call sub.ADVAPI32.dll_SetNamedSecurityInfoA
lea ecx, [esp + 0x8cc]
call fcn.00415728
pop edi
pop esi
add esp, 0x8c0
ret 8

Function at 0x4035e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41dcf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push esi
lea esi, [ecx + 0x90]
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0x104
mov dword [esp + 0x18], 1
call fcn.0041549d
mov eax, dword [0x426e28]
mov dword [esp + 0x124], 0
mov dword [esp + 8], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], 1
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftAdvanced_INF_Setup
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4036b8
lea edx, [esp + 0xc]
push edi
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.EnableJava
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
call fcn.00415865
test edi, edi
pop edi
jne 0x4036b8
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4036b8
push 0x426810
lea ecx, [esp + 8]
call fcn.00415ab8
lea edx, [esp + 8]
lea ecx, [esp + 4]
push edx
call fcn.00415af4
jmp 0x4036c6
push 0x42680c
lea ecx, [esp + 8]
call fcn.00415ab8
lea eax, [esp + 4]
mov ecx, esi
push eax
call fcn.00415815
lea ecx, [esp + 8]
mov byte [esp + 0x124], 0
call fcn.00415728
lea ecx, [esp + 4]
mov dword [esp + 0x124], 0xffffffff
call fcn.00415728
mov ecx, dword [esp + 0x11c]
pop esi
mov dword fs:[0], ecx
add esp, 0x124
ret
Function at 0x404250
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41decd
push eax
mov dword fs:[0], esp
sub esp, 0x128
push esi
xor esi, esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.0041c731
test eax, eax
jne 0x40430e
push str.Fatal_Error:_MFC_initialization_failed
push 0x42cda0
call fcn.00404680
add esp, 8
mov esi, eax
mov ecx, esi
push 0xa
call fcn.00404420
mov eax, dword [esi]
xor edi, edi
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
mov cl, byte [ecx + esi + 4]
test cl, 6
jne 0x4042d1
mov eax, dword [eax + 0x28]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x4042d1
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
test edi, edi
je 0x4042f2
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x28]
or eax, edi
test edx, edx
jne 0x4042ea
or al, 4
push 0
push eax
call fcn.00410724
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
add esp, 0x134
ret
push 0
lea ecx, [esp + 0xc]
call fcn.00401150
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x9c]
mov dword [esp + 0x138], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], 0x9c
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0xa0]
mov edi, 6
xor edx, edx
cmp eax, edi
sete dl
lea ecx, [esp + 8]
mov dword [esp + 0x7c], edx
call fcn.00401320
call fcn.00403be0
lea ecx, [esp + 0x98]
mov dword [esp + 0x138], edi
call fcn.00415728
lea ecx, [esp + 0x94]
mov byte [esp + 0x138], 5
call fcn.00415728
lea ecx, [esp + 0x90]
mov byte [esp + 0x138], 4
call fcn.00415728
lea ecx, [esp + 0x84]
mov byte [esp + 0x138], 3
call fcn.00415728
lea ecx, [esp + 0x80]
mov byte [esp + 0x138], 2
call fcn.00415728
lea ecx, [esp + 0x64]
mov byte [esp + 0x138], 1
call fcn.00414683
lea ecx, [esp + 8]
mov dword [esp + 0x138], 0xffffffff
call fcn.00414dc7
mov ecx, dword [esp + 0x130]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x134
ret
Function at 0x4150be
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x41df44
call fcn.004063c8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0041cca5
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4150fd
call fcn.0041cca5
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41510b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x415119
or eax, 0xffffffff
jmp 0x415201
mov ecx, esi
call fcn.00415034
mov dword [ebp - 0x14], eax
call fcn.004165cd
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x415150
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x415150
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00416581
push dword [ebp - 0x14]
call fcn.004160b3
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00414e05
cmp eax, edi
je 0x4151c3
test byte [esi + 0x24], 0x10
je 0x415191
push 4
mov ecx, esi
pop ebx
call fcn.00418672
test ah, 1
je 0x415189
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004180d7
cmp dword [esi + 0x1c], edi
je 0x4151c3
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004186a6
jmp 0x4151c3
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4151d7
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4151f0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4151f0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0041506e
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x417f85
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x417fc7
call fcn.0041cca5
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x417fc7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x417fbe
xor eax, eax
jmp 0x417fcf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00417fd5
pop edi
pop esi
pop ebx
ret 4
Function at 0x65681079
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xe5e251b
call fcn.65681000

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

Disassembly:
push 0x805ca789
call fcn.65681000

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

Disassembly:
push 0x472d46a0
call fcn.65681000

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

Disassembly:
push 0x82acb12c
call fcn.65681000
push 0xf991917
call fcn.65681000

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

Disassembly:
push 0x258d2b1b
call fcn.65681000

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

Disassembly:
push 0x47514dc3
call fcn.65681000

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

Disassembly:
push 0xffabd70c
call fcn.65681000

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

Disassembly:
push 0xc1740c6
call fcn.65681000

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

Disassembly:
push 0x349c3225
call fcn.65681000

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

Disassembly:
push 0x16ac1e03
call fcn.65681000
nop