joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa800
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x57b86c]
xor edx, edx
cmp eax, edx
jne 0x4aa826
xor eax, eax
mov byte [eax + 0x57b76c], al
inc eax
cmp eax, 0x100
jl 0x4aa80e
mov dword [0x57b86c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x57b76c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4aa8b7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4aa88a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4aa858
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4aa930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4aa983
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4aa96a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b1320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f166e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004b1c40
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x50a234
call fcn.004e24ff
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4b13b3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004e24ff
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4b13ac
push 0
mov ecx, eax
call fcn.004a8440
mov dword [esi + 0xc], eax
jmp 0x4b13b5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4b13b5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4d8b50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f2610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004cdbdb
mov eax, dword [0x50d740]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004cdb0d
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004d9680
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4d8bf7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4d8bee
cmp al, 0xff
je 0x4d8bee
dec al
mov byte [ecx], al
jmp 0x4d8bf7
push ecx
call fcn.004e2528
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4d8c28
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4d8c1f
cmp al, 0xff
je 0x4d8c1f
dec al
mov byte [ecx], al
jmp 0x4d8c28
push ecx
call fcn.004e2528
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4e4b8c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e4bc4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004e2c19
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e2bf1
jmp 0x4e4bd0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e6281
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 0x4e62c3
call fcn.004ebd36
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e62c3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e62ba
xor eax, eax
jmp 0x4e62cb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e62d1
pop edi
pop esi
pop ebx
ret 4

Function at 0x4ec266
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4ec294
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ec2b2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ec1cc
jmp 0x4ec2b2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ec2b2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ec1cc
test edi, edi
mov eax, edi
jne 0x4ec29c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40fbc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f254
push eax
mov dword fs:[0], esp
sub esp, 4
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
xor edi, edi
mov ebx, 1
lea ecx, [esi + 0xcc]
call fcn.00442379
lea ecx, [esi + 0xd0]
mov dword [ebp - 4], edi
call fcn.00442379
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], bl
call fcn.00442379
mov byte [ebp - 4], 2
lea ecx, [esi + 0xd8]
call fcn.00442379
mov byte [ebp - 4], 3
lea ecx, [esi + 0xdc]
call fcn.00442379
mov byte [ebp - 4], 4
lea ecx, [esi + 0xe0]
call fcn.00442379
mov byte [ebp - 4], 5
lea ecx, [esi + 0xe4]
call fcn.00442379
mov byte [ebp - 4], 6
lea ecx, [esi + 0xe8]
call fcn.00442379
mov byte [ebp - 4], 7
lea ecx, [esi + 0xec]
call fcn.00442379
mov byte [ebp - 4], 8
lea ecx, [esi + 0xf0]
call fcn.00442379
mov byte [ebp - 4], 9
lea ecx, [esi + 0xcc]
call fcn.00442459
lea ecx, [esi + 0xf0]
call fcn.00442459
lea ecx, [esi + 0xe0]
call fcn.00442459
lea ecx, [esi + 0xe4]
call fcn.00442459
lea ecx, [esi + 0xd0]
call fcn.00442459
lea ecx, [esi + 0xd4]
call fcn.00442459
lea ecx, [esi + 0xd8]
call fcn.00442459
mov dword [esi + 4], 0x1ae
mov dword [esi], 0xcf
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
push edi
mov dword [esi + 0x20], ebx
mov dword [esi + 8], 0x1af
mov dword [esi + 0x1c], edi
nop
call fcn.0045e14f
push ebx
mov dword [esi + 0xb0], eax
nop
call fcn.0045e158
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xf4], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x58], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xac], 2
mov eax, esi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xc0], 0x2b11
mov dword [esi + 0xc4], 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e890
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41dfa7
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
lea ecx, [ecx + 0x18]
call fcn.00442379
mov dword [ebp - 4], 0
lea ecx, [esi + 0x1c]
call fcn.00442379
mov byte [ebp - 4], 1
lea ecx, [esi + 0x20]
call fcn.00442379
mov byte [ebp - 4], 2
lea ecx, [esi + 0x24]
call fcn.00442379
push 0x472e60
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0044254c
push 0x472e5c
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
lea ebx, [esi + 0x48]
call fcn.0044254c
push 0x472e58
mov ecx, ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
lea edi, [esi + 0x4c]
call fcn.0044254c
push 0x472e54
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0044254c
lea ecx, [esi + 0x50]
push 0x472e4c
mov byte [ebp - 4], 7
call fcn.0044254c
lea ecx, [esi + 0x54]
push 0x472820
mov byte [ebp - 4], 8
call fcn.0044254c
lea ecx, [esi + 0x58]
push 0x472e44
mov byte [ebp - 4], 9
call fcn.0044254c
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x5c]
push 0x472e3c
call fcn.0044254c
lea ecx, [esi + 0x60]
push 0x472e34
mov byte [ebp - 4], 0xb
call fcn.0044254c
lea ecx, [esi + 0x64]
push 0x472e2c
mov byte [ebp - 4], 0xc
call fcn.0044254c
lea ecx, [esi + 0x68]
push 0x472e24
mov byte [ebp - 4], 0xd
call fcn.0044254c
lea ecx, [esi + 0x6c]
push 0x472e1c
mov byte [ebp - 4], 0xe
call fcn.0044254c
lea ecx, [esi + 0x70]
push 0x472e14
mov byte [ebp - 4], 0xf
call fcn.0044254c
lea ecx, [esi + 0x74]
push 0x472e08
mov byte [ebp - 4], 0x10
call fcn.0044254c
lea ecx, [esi + 0x78]
push 0x472e04
mov byte [ebp - 4], 0x11
call fcn.0044254c
lea ecx, [esi + 0x7c]
push 0x472e00
mov byte [ebp - 4], 0x12
call fcn.0044254c
lea ecx, [esi + 0x80]
push 0x472dfc
mov byte [ebp - 4], 0x13
call fcn.0044254c
mov byte [ebp - 4], 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [esi], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 8], edx
mov edx, dword [esi + 0x44]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], edx
call fcn.004425d7
lea ecx, [esi + 0x38]
push ecx
lea ecx, [esi + 0x1c]
call fcn.004425d7
push ebx
lea ecx, [esi + 0x20]
call fcn.004425d7
push edi
lea ecx, [esi + 0x24]
call fcn.004425d7
sub esp, 4
mov dword [ebp - 0x14], esp
push 1
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004404cb
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x14
mov ecx, esi
call fcn.0041ebc0
mov eax, esi
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e896
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41dfa7
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
lea ecx, [ecx + 0x18]
call fcn.00442379
mov dword [ebp - 4], 0
lea ecx, [esi + 0x1c]
call fcn.00442379
mov byte [ebp - 4], 1
lea ecx, [esi + 0x20]
call fcn.00442379
mov byte [ebp - 4], 2
lea ecx, [esi + 0x24]
call fcn.00442379
push 0x472e60
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0044254c
push 0x472e5c
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
lea ebx, [esi + 0x48]
call fcn.0044254c
push 0x472e58
mov ecx, ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
lea edi, [esi + 0x4c]
call fcn.0044254c
push 0x472e54
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0044254c
lea ecx, [esi + 0x50]
push 0x472e4c
mov byte [ebp - 4], 7
call fcn.0044254c
lea ecx, [esi + 0x54]
push 0x472820
mov byte [ebp - 4], 8
call fcn.0044254c
lea ecx, [esi + 0x58]
push 0x472e44
mov byte [ebp - 4], 9
call fcn.0044254c
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x5c]
push 0x472e3c
call fcn.0044254c
lea ecx, [esi + 0x60]
push 0x472e34
mov byte [ebp - 4], 0xb
call fcn.0044254c
lea ecx, [esi + 0x64]
push 0x472e2c
mov byte [ebp - 4], 0xc
call fcn.0044254c
lea ecx, [esi + 0x68]
push 0x472e24
mov byte [ebp - 4], 0xd
call fcn.0044254c
lea ecx, [esi + 0x6c]
push 0x472e1c
mov byte [ebp - 4], 0xe
call fcn.0044254c
lea ecx, [esi + 0x70]
push 0x472e14
mov byte [ebp - 4], 0xf
call fcn.0044254c
lea ecx, [esi + 0x74]
push 0x472e08
mov byte [ebp - 4], 0x10
call fcn.0044254c
lea ecx, [esi + 0x78]
push 0x472e04
mov byte [ebp - 4], 0x11
call fcn.0044254c
lea ecx, [esi + 0x7c]
push 0x472e00
mov byte [ebp - 4], 0x12
call fcn.0044254c
lea ecx, [esi + 0x80]
push 0x472dfc
mov byte [ebp - 4], 0x13
call fcn.0044254c
mov byte [ebp - 4], 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [esi], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 8], edx
mov edx, dword [esi + 0x44]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], edx
call fcn.004425d7
lea ecx, [esi + 0x38]
push ecx
lea ecx, [esi + 0x1c]
call fcn.004425d7
push ebx
lea ecx, [esi + 0x20]
call fcn.004425d7
push edi
lea ecx, [esi + 0x24]
call fcn.004425d7
sub esp, 4
mov dword [ebp - 0x14], esp
push 1
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004404cb
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x14
mov ecx, esi
call fcn.0041ebc0
mov eax, esi
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455bda
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [0x47c31c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x455c00
jmp 0x455d16
push 0
mov eax, dword [ebp + 8]
push eax
call dword [0x47c2bc]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x455c20
jmp 0x455d16
lea eax, [ebp - 0x10]
push eax
call dword [0x47c18c]
mov al, byte [ebp - 4]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0045ab3d
add esp, 4
mov dword [0x47a0a0], 0
mov dword [ebp - 0x420], 0x646c6f47
mov dword [ebp - 0x41c], 0x6f736e65
mov byte [ebp - 0x418], 0x66
mov dword [ebp - 0x20], 0
jmp 0x455c6d
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 9
jge 0x455c8d
mov eax, dword [ebp - 0x20]
movsx eax, byte [eax + ebp - 0x420]
xor al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + ebp - 0x420], al
jmp 0x455c6a
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x417], al
push 0xa
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0x47c318]
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x424]
push eax
call dword [0x47c2c4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x455cf5
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0045a6e0
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0x47c318]
jmp 0x455ca9
mov eax, dword [ebp - 0x18]
push eax
call dword [0x47c2c8]
mov eax, dword [ebp - 0x424]
push eax
call dword [0x47c2c8]
mov eax, dword [ebp + 8]
push eax
call dword [0x47c25c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45b04c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [0x47c27c]
mov dword [ebp - 4], eax
push 2
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [0x47c27c]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x45b121
cmp dword [ebp - 8], 0
jne 0x45b121
lea eax, [ebp - 0x18]
push eax
call dword [0x47c18c]
mov al, byte [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
push eax
call fcn.0045ab3d
add esp, 4
mov dword [ebp - 0x41c], 0x646c6f47
mov dword [ebp - 0x418], 0x6f736e65
mov byte [ebp - 0x414], 0x66
mov dword [ebp - 0x1c], 0
jmp 0x45b0d9
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 9
jge 0x45b0fb
mov eax, dword [ebp - 0x1c]
movsx eax, byte [eax + ebp - 0x41c]
mov ecx, dword [ebp + 0xc]
xor al, byte [ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + ebp - 0x41c], al
jmp 0x45b0d6
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
mov byte [ebp - 0x413], al
push 0
lea eax, [ebp - 0x1c]
push eax
push 0xa
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [0x47c280]
jmp 0x45b133
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [0x47c27c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45b51c
Capabilities:
Hash data with md5

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

Function at 0x4010ad
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [section..data], eax
push 0x30
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_RtlZeroMemory
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
push dword [section..data]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x40100a
mov dword [ebp - 0x10], 6
mov dword [ebp - 8], str.MyClass
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0
push dword [section..data]
push 0
push 0
push 0x190
push 0x258
push 0x64
push 0x64
push 0xcf0000
push str.My_first_Window__
push str.MyClass
push 0x200
call sub.user32.dll_CreateWindowExA
mov dword [0x404004], eax
push 1
push dword [0x404004]
call sub.user32.dll_ShowWindow
push dword [0x404004]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
or eax, eax
je 0x401185
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x40115e
leave
ret
Function at 0x45d28c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x483730
cmp edx, dword [eax]
je 0x45d2ae
add eax, 8
inc ecx
cmp eax, 0x4837c0
jl 0x45d29f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x483730]
jne 0x45d3dc
mov eax, dword [0x499dcc]
cmp eax, 1
je 0x45d3b6
test eax, eax
jne 0x45d2df
cmp dword [0x482ff4], 1
je 0x45d3b6
cmp edx, 0xfc
je 0x45d3dc
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45d316
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0045bd90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00459e30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x45d359
lea eax, [ebp - 0x1a4]
push eax
call fcn.00459e30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x46c910
push edi
call fcn.0045e660
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0045bd90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0045bda0
lea eax, [ebp - 0xa0]
push 0x46c8f0
push eax
call fcn.0045bda0
push dword [esi + 0x483734]
lea eax, [ebp - 0xa0]
push eax
call fcn.0045bda0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0045ec47
add esp, 0x2c
pop edi
jmp 0x45d3dc
lea eax, [ebp + 8]
lea esi, [esi + 0x483734]
push 0
push eax
push dword [esi]
call fcn.00459e30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40d4c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d01b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00481381
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d542
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047f0a0
mov eax, dword [eax]
push 0x594200
push eax
call fcn.00470b74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048160c
test bl, bl
je 0x40d542
push 0x594200
lea ecx, [esp + 0xc]
call fcn.0048199c
push 0x597d90
lea ecx, [esp + 0xc]
call fcn.0048199c
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40d57e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048160c
jmp 0x40d649
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40d602
lea edx, [esp + 0x7c]
push 0x597d8c
push edx
call fcn.00470b74
add esp, 8
test eax, eax
je 0x40d602
lea eax, [esp + 0x7c]
push 0x597d88
push eax
call fcn.00470b74
add esp, 8
test eax, eax
je 0x40d602
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40d592
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048160c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4