joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ce857
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
aam 0x88
pop ebp
aam 0x50
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
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004ce44a
push eax
push esi
push dword [ebp + 8]
call fcn.004ce3ff
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004ce43a
sbb dword [ebp - 0x62776799], 0xffffff7c
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
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
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004ce43a
aad 0xed
cmp al, bh
lea eax, [ebp - 0x84]
push eax
call fcn.004ce44a
push eax
push esi
push dword [ebp + 8]
call fcn.004ce3ff
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x4cec33
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.004ce3ab
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x4ce9aa
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.004ce3ab
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x4ce977
call fcn.004ce43a
test byte [ebp + 0x7e8b2c59], dh
cmp al, 3
dec byte [ecx - 0x8743]
dec dword [ebx + 0x8087]
add byte [ebx], bh
ret
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4cf0cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004ce3ff
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.004ce43a
mov dl, byte [edx]
sub cl, byte [ebx]
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4cf12e
cmp dword [ebp - 0x398], 0
je 0x4cf2f8
cmp dword [ebp + 0xc], 1
je 0x4cf2f8
cmp dword [ebp + 0xc], 8
jne 0x4cf2c0
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
invalid
invalid
push esp

Function at 0x4cffd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
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]
je 0x4d0030
invalid
call dword [eax - 0x18]
or ah, ah
invalid
call [ecx + 0x50]
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.004ce3ab
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x4d03b2

Function at 0x4efa16
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4efa30
call fcn.0046f0ea
mov esi, dword [eax + 0xc]
push dword [0x5f6084]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4efa4e
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4efa46
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4efa7b
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4efa48
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004ef944
mov esi, eax
jmp 0x4efa6d

Function at 0x53ee06
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00478087
call fcn.0046b006
cmp eax, esi
pop esi
jne 0x53ee22
mov ecx, 0x5f3fa0
jmp fcn.00483c19
ret

Function at 0x55db96
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5f01b4]
jne 0x55dba0
repz ret
jmp fcn.00566754
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3bc06491
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x433e6a0f
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
cmp dword [0x5a193c], 0
push ebx
mov ebx, dword [0x5a10c8]
jne 0x401e2d
push esi
push 0xa
push 0x11
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x401e2c
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401e2b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 0
mov ebx, eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebx
push eax
call fcn.0043d9f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0xc]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x401e24
push eax
call fcn.004017c0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x404bb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x80]
sub esp, 0x1c
push ebp
push esi
add eax, ebx
cmp dword [eax + 0xc], 0
push edi
lea edi, [eax + 0xc]
je 0x404c08
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ecx, dword [edi]
add ecx, ebx
push ecx
push 0x457538
call ebp
test eax, eax
jne 0x404c00
mov esi, dword [edi + 4]
add esi, ebx
cmp dword [esi], eax
je 0x404c00
lea ebx, [ebx]
mov edx, dword [esp + 0x2c]
cmp dword [esi], edx
je 0x404c11
add esi, 4
cmp dword [esi], 0
jne 0x404bf0
add edi, 0x14
cmp dword [edi], 0
jne 0x404bd1
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret
push 0x1c
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0x20]
push ecx
push 0x40
push edx
push eax
call edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x404c4b
mov dword [esi], 0x404db0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call edi
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x406fe0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push 1
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
mov eax, dword [edi]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 4], 0
lea edx, [esi + 4]
mov dword [esi + 8], esi
je 0x40703d
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x407039
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp]
push eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 4
mov dword [esp + 4], 7
call edx
add esp, 0x10
ret
cmp dword [ebx + 0x24], 4
jne 0x407039
mov ecx, dword [ebx + 0x20]
add esp, 0x10
jmp fcn.004057b0

Function at 0x4070d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44dde7
mov eax, dword fs:[0]
push eax
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], vtable.autodlg::dialog_base.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov byte [esp + 0xc], 2
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov byte [esp + 0xc], 3
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov byte [esp + 0xc], 4
mov dword [eax + 0x60], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

Function at 0x407a80
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
push ebx
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
call fcn.00407670
lea ebx, [esi + 0xc]
call fcn.00405c90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0
add ecx, eax
add edx, eax
mov eax, dword [esp + 0x40]
push 0
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov edx, dword [esi + 0x60]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], edx
mov edx, dword [eax]
push ecx
mov ecx, esi
mov dword [esp + 0x28], 1
call edx
mov eax, dword [esi + 0x60]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x60]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x60], 0
pop ebx
setne al
add esp, 0x34
ret 4
Function at 0x408520
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x46b070]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x14]
push eax
push esi
push 0x135
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x408587
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov ebx, dword [edi + 0x10]
test bl, 1
mov dword [esp + 0x1c], ebx
push 0xf
je 0x40859e
push 0xa
lea edx, [esp + 0x14]
push edx
jmp 0x4085a5
push 5
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawEdge]
mov edx, dword [edi + 0x14]
push 0x100
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test bl, 4
je 0x408646
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xf0f0f0
push esi
call ebx
lea eax, [esp + 0x20]
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4085e0
push 0x25
lea ecx, [esp + 0x10]
push ecx
sub eax, edi
mov edi, dword [sym.imp.USER32.dll_DrawTextA]
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call edi
mov eax, 1
add dword [esp + 0x10], eax
add dword [esp + 0xc], eax
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
push 0x787878
push esi
call ebx
lea eax, [esp + 0x20]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x408625
push 0x25
sub eax, ecx
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call edi
mov ebx, dword [esp + 0x1c]
jmp 0x40866f
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408650
push 0x25
lea ecx, [esp + 0x10]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
test bl, 0x10
je 0x408695
mov eax, 3
add dword [esp + 0x10], eax
add dword [esp + 0xc], eax
sub dword [esp + 0x14], eax
sub dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0043a9a6
mov esp, ebp
pop ebp
ret
Function at 0x40d270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40d287
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d2b8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x40d2b4
cmp esi, eax
jae 0x40d2b8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x40d2a4
cmp esi, eax
jb 0x40d2be
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x40d530
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x104
mov eax, dword [0x46b070]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [0x5a10c8]
push ebx
mov ebx, dword [0x5a1914]
push 0xa
push 0x10
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x40d577
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0043a9a6
add esp, 0x104
ret
mov ecx, dword [0x5a10c8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40d55f
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0xff
push 0
push 0x5a0fc8
mov esi, eax
call fcn.0043d8c0
mov edx, dword [0x5a10c8]
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
add esp, 0xc
push 0xfe
push 0x5a0fc8
push 0x90
push edx
call edi
mov dword [0x59db98], 0x5a0fc8
cmp word [esi + 6], 0
je 0x40d5dc
call fcn.00401d80
test ebx, ebx
jne 0x40d63e
movzx ecx, word [esi + 2]
mov ax, word [esi]
mov word [0x59c084], cx
movsx ecx, cx
mov word [0x59c082], ax
movsx eax, ax
lea edx, [ecx - 0x28]
add ecx, 0xffffffe2
mov dword [0x59da8c], eax
mov dword [0x59daa0], eax
mov dword [0x59dab4], eax
mov dword [0x59da90], edx
mov dword [0x59db3c], ecx
movzx eax, word [esi + 4]
imul eax, eax, 0x3e8
push eax
push ebx
push 0x401ef0
mov dword [0x5a1904], 1
call fcn.0043a861
add esp, 0xc
push 0xff
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0043d8c0
mov eax, dword [0x5a10c8]
add esp, 0xc
push 0xfe
lea edx, [esp + 0x10]
push edx
push 0x70
push eax
call edi
test ebx, ebx
pop edi
pop esi
je 0x40d67b
lea ecx, [esp + 4]
push ecx
call fcn.0043ae24
add esp, 4
jmp 0x40d684
lea ebx, [esp + 4]
call fcn.00401ff0
mov ecx, dword [esp + 0x104]
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0043a9a6
add esp, 0x104
ret
Function at 0x40ddb0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x46b070]
xor eax, esp
mov dword [esp + 0x404], eax
push esi
mov esi, ecx
cmp word [esi], 0x5c
je 0x40ddf2
cmp word [esi + 2], 0x3a
je 0x40ddf2
push 0x5a0dc8
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x40ddfe
push esi
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push 7
push 1
push 0
push 1
push 0x40000000
lea eax, [esp + 0x20]
push eax
call fcn.0044bf30
mov esi, eax
cmp esi, 0xffffffff
je 0x40de5a
mov edx, dword [esp + 0x410]
push 0
lea ecx, [esp + 8]
push ecx
push edx
push edi
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x5a0b8c
push 0x5a0b84
push 0x5a0b7c
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x408]
pop esi
xor ecx, esp
call fcn.0043a9a6
add esp, 0x408
ret
Function at 0x40e5b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44dfd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x46b070]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ecx, 0x59fd04
lea esi, [esp + 0xc]
call fcn.0040eac0
mov edi, 1
mov dword [esp + 0x30], edi
lea eax, [esp + 0x10]
push eax
call fcn.00402de0
mov byte [esp + 0x30], 2
cmp dword [ebp + 8], 0
je 0x40e664
mov eax, dword [esp + 0xc]
cmp dword [eax - 4], edi
mov esi, dword [eax - 0xc]
jle 0x40e624
mov ecx, esi
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.0040b030
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edx
push esi
push eax
call fcn.0043ac3b
mov edx, dword [esp + 0x1c]
add esp, 0x10
test edx, edx
jne 0x40e642
xor eax, eax
jmp 0x40e654
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e647
sub eax, esi
js 0x40e6c9
cmp eax, dword [edx - 8]
jg 0x40e6c9
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0xc]
mov byte [eax + ecx], 0
push 0x457a14
push 0x457a14
lea edx, [esp + 0x14]
push edx
call fcn.00409f60
test ebx, ebx
mov eax, dword [esp + 0xc]
je 0x40e738
cmp dword [eax - 0xc], 0
mov esi, vtable._com_error.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
je 0x40e6d3
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x30], 3
lea edi, [esp + 0x14]
call fcn.0040e150
mov ecx, dword [esp + 0xc]
push eax
push ebx
push ecx
push str._s_n0x_x__s_n
lea edi, [esp + 0x20]
call fcn.0040eb30
add esp, 0x10
jmp 0x40e6fe
push 0x80070057
call fcn.00402920
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x30], 4
lea edi, [esp + 0x14]
call fcn.0040e150
push eax
push ebx
push str.0x_x__s_n
lea edi, [esp + 0x1c]
call fcn.0040eb30
add esp, 0xc
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x14], esi
je 0x40e717
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x20], 0
je 0x40e750
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x40e750
mov ecx, dword [esp + 0x20]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40e750
cmp dword [eax - 0xc], 0
je 0x40e750
push eax
push 0x457a30
lea edi, [esp + 0x18]
call fcn.0040eb30
add esp, 8
cmp dword [0x5a1914], 0
je 0x40e768
mov edx, dword [esp + 0x10]
push edx
call fcn.0043ae24
add esp, 4
jmp 0x40e77c
mov eax, dword [esp + 0x10]
push 0x10
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00402e40
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402e40
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4126e0
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [ecx + 0x14]
push esi
push edi
movzx edi, word [ecx + 6]
xor esi, esi
test edi, edi
lea eax, [eax + ecx + 0x18]
jbe 0x412715
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4126fe
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x41270b
add edx, ecx
cmp ebx, edx
jb 0x412717
add esi, 1
add eax, 0x28
cmp esi, edi
jb 0x4126f4
xor eax, eax
pop edi
pop esi
ret

Function at 0x414e90
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov al, byte [esi + 0x101]
xor ecx, ecx
cmp dword [esp + 0xc], ecx
push ebx
mov bl, byte [esi + 0x100]
jbe 0x414ef2
push ebp
push edi
jmp 0x414eb0
add bl, 1
movzx edx, bl
lea edi, [edx + esi]
movzx edx, byte [edi]
add al, dl
mov byte [esp + 0xf], al
movzx eax, al
lea ebp, [eax + esi]
movzx eax, byte [ebp]
mov byte [edi], al
mov edi, dword [esp + 0x14]
add eax, edx
and eax, 0xff
mov byte [ebp], dl
movzx edx, byte [eax + esi]
xor byte [ecx + edi], dl
mov al, byte [esp + 0xf]
add ecx, 1
cmp ecx, dword [esp + 0x18]
jb 0x414eb0
pop edi
pop ebp
mov byte [esi + 0x100], bl
mov byte [esi + 0x101], al
pop ebx
pop ecx
ret 8