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

Disassembly:
push 0x1c
mov eax, 0x42bd9d
call fcn.004162d0
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp + 8]
call fcn.00401753
and dword [ebp - 4], 0
mov esi, 0x104
push esi
mov ecx, edi
call fcn.00401315
push esi
mov esi, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040103d
push 0xffffffffffffffff
mov ecx, edi
call fcn.004011ba
lea ecx, [ebp - 0x28]
call fcn.004100cf
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 1
je 0x404b0c
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.0041015d
test eax, eax
je 0x404b0c
lea ecx, [ebp - 0x28]
call fcn.0040fde4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.004103a0
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004013fb
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040103d
lea ecx, [ebp - 0x28]
call fcn.0040fd14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004100f5
xor eax, eax
inc eax
jmp 0x404b1a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004100f5
xor eax, eax
call fcn.0041636f
ret 4

Function at 0x404b22
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push 4
mov eax, 0x42b805
call fcn.004162d0
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
call fcn.004012f7
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx eax, ax
mov ecx, 0x41d
cmp eax, ecx
jg 0x404bc8
je 0x404bc1
sub eax, 0x404
cmp eax, 0x12
ja case.0x404b66.1029
jmp dword [eax*4 + 0x404c12]
mov eax, 0x8b
jmp 0x404bdb
mov eax, 0x8c
jmp 0x404bdb
mov eax, 0x8a
jmp 0x404bdb
mov eax, 0x85
jmp 0x404bdb
mov eax, 0x86
jmp 0x404bdb
mov eax, 0x88
jmp 0x404bdb
mov eax, 0x89
jmp 0x404bdb
mov eax, 0x8e
jmp 0x404bdb
mov eax, 0x8d
jmp 0x404bdb
mov eax, 0x8f
jmp 0x404bdb
mov eax, 0x90
jmp 0x404bdb
mov eax, 0x84
jmp 0x404bdb
mov eax, 0x91
jmp 0x404bdb
cmp eax, 0x804
je 0x404bd6
mov eax, 0x87
jmp 0x404bdb
mov eax, 0x83
movzx eax, ax
push str.BINARYSTRING
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 8]
push eax
call fcn.004018a0
mov eax, dword [ebp + 8]
call fcn.0041636f
ret 4
Function at 0x404c5e
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push 4
mov eax, 0x42b805
call fcn.004162d0
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
call fcn.004012f7
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx eax, ax
mov ecx, 0x41d
cmp eax, ecx
jg 0x404d04
je 0x404cfd
sub eax, 0x404
cmp eax, 0x12
ja case.0x404ca2.1029
jmp dword [eax*4 + 0x404d4e]
mov eax, 0xc3
jmp 0x404d17
mov eax, 0xc4
jmp 0x404d17
mov eax, 0xc2
jmp 0x404d17
mov eax, 0xca
jmp 0x404d17
mov eax, 0xcb
jmp 0x404d17
mov eax, 0xcd
jmp 0x404d17
mov eax, 0xce
jmp 0x404d17
mov eax, 0xc6
jmp 0x404d17
mov eax, 0xc5
jmp 0x404d17
mov eax, 0xc7
jmp 0x404d17
mov eax, 0xc8
jmp 0x404d17
mov eax, 0xc0
jmp 0x404d17
mov eax, 0xc9
jmp 0x404d17
cmp eax, 0x804
je 0x404d12
mov eax, 0xcc
jmp 0x404d17
mov eax, 0xc1
movzx eax, ax
push str.BINARYSTRING
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 8]
push eax
call fcn.004018a0
mov eax, dword [ebp + 8]
call fcn.0041636f
ret 4

Function at 0x404d9a
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push 4
mov eax, 0x42b805
call fcn.004162d0
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
call fcn.004012f7
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx eax, ax
mov ecx, 0x41d
cmp eax, ecx
jg 0x404e40
je 0x404e39
sub eax, 0x404
cmp eax, 0x12
ja case.0x404dde.1029
jmp dword [eax*4 + 0x404e8a]
mov eax, 0xd2
jmp 0x404e53
mov eax, 0xd3
jmp 0x404e53
mov eax, 0xd1
jmp 0x404e53
mov eax, 0xd9
jmp 0x404e53
mov eax, 0xda
jmp 0x404e53
mov eax, 0xdc
jmp 0x404e53
mov eax, 0xdd
jmp 0x404e53
mov eax, 0xd5
jmp 0x404e53
mov eax, 0xd4
jmp 0x404e53
mov eax, 0xd6
jmp 0x404e53
mov eax, 0xd7
jmp 0x404e53
mov eax, 0xd0
jmp 0x404e53
mov eax, 0xd8
jmp 0x404e53
cmp eax, 0x804
je 0x404e4e
mov eax, 0xdb
jmp 0x404e53
mov eax, 0xcf
movzx eax, ax
push str.BINARYSTRING
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 8]
push eax
call fcn.004018a0
mov eax, dword [ebp + 8]
call fcn.0041636f
ret 4
Function at 0x404ed6
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push 4
mov eax, 0x42b805
call fcn.004162d0
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
call fcn.004012f7
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx eax, ax
mov ecx, 0x41d
cmp eax, ecx
jg 0x404f7c
je 0x404f75
sub eax, 0x404
cmp eax, 0x12
ja case.0x404f1a.1029
jmp dword [eax*4 + 0x404fc6]
mov eax, 0x140
jmp 0x404f8f
mov eax, 0x141
jmp 0x404f8f
mov eax, 0x13f
jmp 0x404f8f
mov eax, 0x13a
jmp 0x404f8f
mov eax, 0x13b
jmp 0x404f8f
mov eax, 0x13d
jmp 0x404f8f
mov eax, 0x13e
jmp 0x404f8f
mov eax, 0x143
jmp 0x404f8f
mov eax, 0x142
jmp 0x404f8f
mov eax, 0x144
jmp 0x404f8f
mov eax, 0x145
jmp 0x404f8f
mov eax, 0x139
jmp 0x404f8f
mov eax, 0x146
jmp 0x404f8f
cmp eax, 0x804
je 0x404f8a
mov eax, 0x13c
jmp 0x404f8f
mov eax, 0x138
movzx eax, ax
push str.BINARYSTRING
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 8]
push eax
call fcn.004018a0
mov eax, dword [ebp + 8]
call fcn.0041636f
ret 4

Function at 0x405012
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push 4
mov eax, 0x42b805
call fcn.004162d0
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
call fcn.004012f7
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx eax, ax
mov ecx, 0x41d
cmp eax, ecx
jg 0x4050b8
je 0x4050b1
sub eax, 0x404
cmp eax, 0x12
ja case.0x405056.1029
jmp dword [eax*4 + 0x405102]
mov eax, 0xe6
jmp 0x4050cb
mov eax, 0xe7
jmp 0x4050cb
mov eax, 0xe5
jmp 0x4050cb
mov eax, 0xe1
jmp 0x4050cb
mov eax, 0xe2
jmp 0x4050cb
mov eax, 0xe3
jmp 0x4050cb
mov eax, 0xe4
jmp 0x4050cb
mov eax, 0xe9
jmp 0x4050cb
mov eax, 0xe8
jmp 0x4050cb
mov eax, 0xea
jmp 0x4050cb
mov eax, 0xeb
jmp 0x4050cb
mov eax, 0xdf
jmp 0x4050cb
mov eax, 0xec
jmp 0x4050cb
cmp eax, 0x804
je 0x4050c6
mov eax, 0xde
jmp 0x4050cb
mov eax, 0xe0
movzx eax, ax
push str.BINARYSTRING
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 8]
push eax
call fcn.004018a0
mov eax, dword [ebp + 8]
call fcn.0041636f
ret 4
Function at 0x4051e3
Capabilities:
Get common file path

Disassembly:
push 0x18
mov eax, 0x42bdc8
call fcn.004162d0
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xb0], ebx
je 0x4052e0
mov eax, dword [esi + 0xcc]
cmp eax, dword [0x430900]
jne 0x4052b7
call fcn.00406703
push eax
lea ecx, [ebp - 0x10]
call fcn.004011df
mov edi, 0x104
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00401315
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x40524c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040103d
jmp 0x4052e0
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004011ba
push str.BootStrap.log
lea ecx, [ebp - 0x10]
call fcn.004031c8
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x24]
call fcn.0040514e
mov edi, dword [ebp - 0x10]
lea edx, [ebp - 0x24]
push edx
lea ecx, [esi + 0xc8]
mov eax, dword [ecx]
push 0x1021
push edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
test eax, eax
mov dword [ebp - 0x24], vtable.CFileException.0
jne 0x4052a6
call fcn.0040103d
lea ecx, [edi - 0x10]
jmp 0x405242
call fcn.0040103d
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
call fcn.0040103d
lea edi, [esi + 0xa4]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x4052e0
add esi, 0xc8
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x54]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
mov ecx, edi
call fcn.00401204
call fcn.0041636f
ret

Function at 0x4052e6
Capabilities:
Shutdown system

Disassembly:
push 0x20
mov eax, 0x42bdfc
call fcn.004162d0
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0xec], ebx
jne 0x405334
cmp dword [esi + 0xe8], ebx
je 0x40532f
lea eax, [ebp - 0x1c]
push eax
call fcn.00404b22
mov eax, dword [eax]
push ebx
push 0x10024
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
call fcn.0040d10f
cmp eax, 6
jne 0x405334
mov byte [ebp - 0xd], bl
jmp 0x405338
mov byte [ebp - 0xd], 1
test byte [ebp - 0x14], 1
je 0x405349
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040103d
cmp byte [ebp - 0xd], bl
jne 0x4053c6
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 0xb4], ebx
push 0x28
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
je 0x4053a6
lea eax, [ebp - 0x28]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x20], 2
je 0x4053a6
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp - 0x18]
call edi
mov esi, eax
push 1
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
cmp esi, ebx
je 0x4053c6
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
call edi
call fcn.0041636f
ret
Function at 0x405d1e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x38
mov eax, 0x42bf95
call fcn.004162d0
mov esi, ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x44], ebx
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], ebx
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push str.RequireIE
lea ecx, [ebp - 0x24]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0x104
call fcn.00401db5
push str.Startup
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.00401db5
lea eax, [esi + 0xa8]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040480f
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040103d
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.0040103d
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
jne 0x405dbe
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040103d
mov eax, ebx
call fcn.0041636f
ret
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov edi, str._d._d._d._d
push edi
push eax
call fcn.004168f5
add esp, 0x18
call fcn.00406703
push eax
lea ecx, [ebp - 0x10]
call fcn.004011df
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
mov byte [ebp - 4], 5
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x405e1a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040103d
jmp 0x405dab
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.00401315
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push dword [ebp - 0x14]
je 0x405e49
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x405e0d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004011ba
cmp dword [ebp - 0x18], ebx
jbe 0x405e0d
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push edi
mov edi, dword [ebp - 0x10]
push edi
call fcn.004168f5
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp + eax - 0x34]
mov edx, dword [ebp + eax - 0x44]
cmp ecx, edx
jb 0x405e93
ja 0x405ea0
add eax, 4
cmp eax, 0x10
jl 0x405e7d
lea ecx, [edi - 0x10]
call fcn.0040103d
jmp 0x405da8
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.0040567a
lea ecx, [edi - 0x10]
jmp 0x405e13
Function at 0x40c7b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40c7fc
call fcn.00411822
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40c7fc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40c817
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040c373
test ebx, ebx
mov esi, eax
je 0x40c815
test edi, edi
je 0x40c815
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40f053
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x40f05c
xor eax, eax
jmp 0x40f0c5
cmp dword [esp + 8], 0
jne 0x40f068
call fcn.004065fa
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004197b7
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40f0a3
push dword [esi + 0x10]
call fcn.004194fc
test eax, eax
pop ecx
jne 0x40f0a3
mov esi, dword [esi + 0xc]
call fcn.00416cbc
push esi
push dword [eax]
push 1
call fcn.0040fcad
push dword [esi + 0x10]
call fcn.0041952b
test eax, eax
pop ecx
je 0x40f0c2
push dword [esi + 0x10]
call fcn.00419450
push eax
call fcn.00401659
pop ecx
pop ecx
jmp 0x40f091
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x40f0ce
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x40f0d8
call fcn.004065fa
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.004198ec
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x40f105
mov esi, dword [esi + 0xc]
call fcn.00416cbc
push esi
push dword [eax]
push 1
call fcn.0040fcad
pop esi
ret 8

Function at 0x416243
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x438e80]
jne 0x41624d
repz ret
jmp fcn.0041ec3c
Function at 0x424fea
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041b94d
xor ebx, ebx
cmp dword [0x43cdb8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4250bf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42502a
xor eax, eax
jmp 0x425183
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x425023
push eax
call fcn.0041b8ea
mov dword [esp], 0x43165c
push edi
mov dword [0x43cdb8], eax
call esi
push eax
call fcn.0041b8ea
mov dword [esp], 0x431648
push edi
mov dword [0x43cdbc], eax
call esi
push eax
call fcn.0041b8ea
mov dword [0x43cdc0], eax
lea eax, [ebp - 8]
push eax
call fcn.00418a17
test eax, eax
pop ecx
pop ecx
je 0x42508d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041cbfa
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4250bf
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041b8ea
cmp eax, ebx
pop ecx
mov dword [0x43cdc8], eax
je 0x4250bf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041b8ea
pop ecx
mov dword [0x43cdc4], eax
mov eax, dword [0x43cdc4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x425138
cmp dword [0x43cdc8], esi
je 0x425138
push eax
call fcn.0041b956
pop ecx
call eax
cmp eax, ebx
je 0x425105
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x43cdc8]
call fcn.0041b956
pop ecx
call eax
test eax, eax
je 0x425105
test byte [ebp - 0x18], 1
jne 0x425138
lea eax, [ebp - 0xc]
push eax
call fcn.00418a4e
test eax, eax
pop ecx
je 0x425120
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041cbfa
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x42512f
or dword [ebp + 0x10], 0x200000
jmp 0x425169
or dword [ebp + 0x10], 0x40000
jmp 0x425169
mov eax, dword [0x43cdbc]
cmp eax, esi
je 0x425169
push eax
call fcn.0041b956
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x425169
mov eax, dword [0x43cdc0]
cmp eax, esi
je 0x425169
push dword [ebp - 4]
push eax
call fcn.0041b956
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x43cdb8]
call fcn.0041b956
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b404
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x438e80]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042b399
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004164a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42b453
cmp dword [ebp - 0x1c], 5
jb 0x42b46b
jmp 0x42b467
cmp dword [ebp - 0x10], 1
jne 0x42b46b
cmp dword [ebp - 0x1c], 4
ja 0x42b467
jne 0x42b46b
cmp dword [ebp - 0x18], 0
jbe 0x42b46b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x432844
call fcn.0042b26d
test eax, eax
jge 0x42b48c
mov byte [0x43a368], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00416243
add ebp, 0x78
leave
ret

Function at 0x43b644
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
dec edx
sub esi, 1
add esi, 0x9209e040
call fcn.0043b68b
push edx
pop esi
sub edx, 0xfe6c438a
or edx, esi
xor dword [eax], ebx
and edx, edx
sub esi, 0xec886a54
inc eax
sub edx, esi
add edx, 1
sub esi, edx
cmp eax, edi
jne fcn.0043b644
add esi, edx
sub edx, edx
ret
Function at 0x401fd5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x428040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x4770a0]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x402045
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004029da
lea ecx, [esp + 0x1c]
call fcn.00401e05
cmp eax, dword [esp + 0x10]
je 0x40205c
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00402a67
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x402015
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406cb1
mov esp, ebp
pop ebp
ret
mov edx, str.QwruxAA
call fcn.00402da6
push eax
call fcn.00403028
mov edx, dword [esp + 0x1c]
pop ecx
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00402a67
jmp 0x402047

Function at 0x40208f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4770a0], eax
pop edi
pop esi
ret

Function at 0x404c0b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x404c2c
jl 0x404c23
test edi, edi
jne 0x404c2c
xor eax, eax
xor edx, edx
jmp 0x404ced
cmp dword [ebx + 0x38], 0
je 0x404c41
push eax
push edi
push dword [ebp + 8]
call fcn.00404cf3
jmp 0x404ced
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x404c88
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x404c88
cmp eax, edi
jb 0x404c62
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00407b20
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x404c8e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x404ce2
mov ecx, ebx
call fcn.0040445b
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x404ccd
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040c50c
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x404ce2
jmp 0x404ca0
test edx, edx
je 0x404ce2
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040c50c
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc