joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f91c
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe54
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0x19c]
push eax
mov dl, 2
mov al, 2
call fcn.004072f8
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x47f9e7
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47f9e0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0xffffffff
je 0x47f9c4
mov word [ebp - 0x1ac], 2
push 0
call sub.wsock32.dll_htonl
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x47f991
call fcn.004035c8
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x1aa], ax
push 0x10
lea eax, [ebp - 0x1ac]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_bind
test eax, eax
je 0x47f9c4
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2740
jne 0x47f9c4
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f9e7
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
ret
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x4801ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48027c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, 0x480290
mov edx, dword [0x484cdc]
call fcn.00404810
mov eax, dword [ebp - 0xc]
call fcn.004049c4
push eax
push 0
call sub.user32.dll_FindWindowA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x480206
push 0
push 0
push 0x10
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SendMessageA
mov dword [0x484cc4], 0xc34f
add dword [0x484cc4], 1
jno 0x48021e
call fcn.004035d0
mov eax, dword [0x484cc4]
call fcn.0047f91c
test al, al
jne 0x480210
push dword [ebp - 0xc]
push 0x4802a4
lea edx, [ebp - 0x10]
mov eax, dword [0x484cc4]
call fcn.00408b98
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404884
push 2
mov eax, dword [ebp - 0xc]
call fcn.004049c4
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480283
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404528
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x68cf2fe4
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x703c585b
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3fd924d3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x40bb40d2
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x1001b760
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001b79f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001b79f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001b79f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001b79f
cmp dword [ecx + 0x74], 0xe
jbe 0x1001b79f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001e45d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001e4fa
push ebx
push esi
call fcn.1001e426
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001e3ba
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001e4a7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e4f9
push edi
push eax
call fcn.1001c49d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001e4c7
call fcn.1001cf02
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e4f8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001e3ba
add esp, 0x20
test eax, eax
jne 0x1001e4e6
push edi
call fcn.1001cf02
jmp 0x1001e4ee
push ebx
call fcn.1001cf02
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001e767
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026d10
push 0x10026d08
push str.FlsAlloc
push 0x1f
call fcn.1001e683
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e79b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002514c]
call esi
jmp 0x1001e7a1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001e7e5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026d20
push 0x10026d18
push str.FlsGetValue
push 0x21
call fcn.1001e683
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e81c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002514c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001e824
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026d28
push 0x10026d20
push str.FlsSetValue
push 0x22
call fcn.1001e683
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e85e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002514c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x401ad0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, edx
push esi
mov esi, ecx
lea ecx, [ebx + 2]
test ecx, ecx
js 0x401c0a
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x40000000
jge 0x401c0a
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
cmp ebx, 2
jle 0x401b8f
lea edx, [ebx - 3]
mov eax, 0xaaaaaaab
mul edx
mov edi, edx
shr edi, 1
inc edi
lea eax, [edi*4]
sub eax, edi
neg eax
add ebx, eax
jmp 0x401b30
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + 0x489b00]
mov byte [ecx], al
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
add edx, edx
movzx eax, byte [eax + edx*8 + 0x489b00]
mov byte [ecx + 1], al
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 2]
and edx, 0xf
shr eax, 6
movzx eax, byte [eax + edx*4 + 0x489b00]
mov byte [ecx + 2], al
movzx eax, byte [esi + 2]
add esi, 3
and eax, 0x3f
movzx eax, byte [eax + 0x489b00]
mov byte [ecx + 3], al
add ecx, 4
dec edi
jne 0x401b30
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x401bf3
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + 0x489b00]
mov byte [ecx], al
cmp ebx, 1
jle 0x401bd8
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
add edx, edx
movzx eax, byte [eax + edx*8 + 0x489b00]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
and eax, 0xf
movzx eax, byte [eax*4 + 0x489b00]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
jmp 0x401bf0
movzx eax, byte [esi]
and eax, 3
shl eax, 4
mov al, byte [eax + 0x489b00]
mov byte [ecx + 1], al
mov word [ecx + 2], 0x3d3d
add ecx, 4
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x401c00
mov eax, ecx
sub eax, edi
mov dword [edx], eax
pop edi
pop esi
mov byte [ecx], 0
xor eax, eax
pop ebx
pop ebp
ret
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret
Function at 0x402a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ecx]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
xor ecx, ecx
sub edi, eax
lea ecx, [ecx]
lea eax, [edi + ecx*4]
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x1c], eax
inc ecx
cmp ecx, 4
jl 0x402a90
xor edi, edi
lea ebx, [edi + 0x10]
lea esp, [esp]
mov ecx, edx
lea edi, [edi - 0x61c88647]
shr ecx, 5
mov eax, edx
add ecx, dword [ebp - 0x18]
shl eax, 4
add eax, dword [ebp - 0x1c]
xor ecx, eax
lea eax, [edi + edx]
xor ecx, eax
add esi, ecx
mov ecx, esi
mov eax, esi
shr ecx, 5
add ecx, dword [ebp - 0x10]
shl eax, 4
add eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [edi + esi]
xor ecx, eax
add edx, ecx
dec ebx
jne 0x402ac0
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402b30
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ecx]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
xor ecx, ecx
sub edi, eax
lea ecx, [ecx]
lea eax, [edi + ecx*4]
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x1c], eax
inc ecx
cmp ecx, 4
jl 0x402b70
mov edi, 0xe3779b90
mov ebx, 0x10
mov edi, edi
mov ecx, esi
mov eax, esi
shr ecx, 5
add ecx, dword [ebp - 0x10]
shl eax, 4
add eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [edi + esi]
xor ecx, eax
sub edx, ecx
mov ecx, edx
mov eax, edx
shr ecx, 5
add ecx, dword [ebp - 0x18]
shl eax, 4
add eax, dword [ebp - 0x1c]
xor ecx, eax
lea eax, [edi + edx]
xor ecx, eax
lea edi, [edi + 0x61c88647]
sub esi, ecx
dec ebx
jne 0x402ba0
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405740
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4a14c0]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.00404e70
add esp, 4
lea edx, [ebp - 0x64]
mov ecx, esi
call fcn.00404f40
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.0045c486
mov esp, ebp
pop ebp
ret

Function at 0x4057b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4a14c0]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, ecx
push 0x10
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x74], 0x67452301
mov dword [ebp - 0x70], 0xefcdab89
mov dword [ebp - 0x6c], 0x98badcfe
mov dword [ebp - 0x68], 0x10325476
call fcn.00404e70
add esp, 4
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x18]
call fcn.00404f40
xor esi, esi
jmp 0x405810
movzx eax, byte [ebp + esi - 0x18]
push eax
push 0x48dee8
push 3
push edi
call fcn.0045cd9d
inc esi
add esp, 0x10
add edi, 4
cmp esi, 0x10
jl 0x405810
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0045c486
mov esp, ebp
pop ebp
ret

Function at 0x40c8c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47beaa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4a14c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0045c064
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x40c966
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x48e7fc
push eax
lea ecx, [ebp - 0x24]
call fcn.0045e141
push 0x49e9dc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x4835f0
push eax
call fcn.0046154b
push edi
push esi
call fcn.0045bee3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045c486
mov esp, ebp
pop ebp
ret 4
Function at 0x40f430
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c168
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4a14c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x40f46f
mov eax, dword [esi]
jmp 0x40f471
mov eax, esi
mov byte [eax], 0
lea ebx, [ecx + 0x1c]
mov eax, dword [ecx + 0x14]
xorps xmm0, xmm0
push ecx
mov dword [ebx], eax
mov ecx, ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], ebx
push eax
push 0x13
movlpd qword [ebp - 0x2c], xmm0
call fcn.0040eb70
test eax, eax
jne 0x40f4c7
cmp dword [ebp - 0x2c], 0xc8
jne 0x40f4c7
push ecx
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
push 5
mov ecx, ebx
movlpd qword [ebp - 0x2c], xmm0
call fcn.0040eb70
cmp dword [ebp - 0x28], 0
jg 0x40f4ea
jl 0x40f4c7
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40f4ed
mov eax, 0xfffffff9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045c486
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x2c]
inc eax
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
xor ebx, ebx
push eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], ebx
call fcn.00409e70
mov dword [ebp - 4], ebx
mov edi, dword [esi + 0x10]
mov eax, dword [ebp - 0x2c]
cmp edi, eax
ja 0x40f53a
cmp dword [esi + 0x14], eax
je 0x40f53a
push 1
push eax
mov ecx, esi
call fcn.00402160
test al, al
je 0x40f537
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x40f531
mov eax, dword [esi]
jmp 0x40f533
mov eax, esi
mov byte [eax + edi], 0
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x20]
lea ecx, [ecx]
mov ecx, dword [ebp - 0x38]
sub eax, ebx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.0040ee20
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x40f5de
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x40f569
mov edx, dword [esi]
jmp 0x40f56b
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
mov edx, dword [ebp - 0x34]
add edx, edi
cmp edi, edx
jne 0x40f5a1
cmp ecx, 0x10
jb 0x40f582
mov ecx, dword [esi]
jmp 0x40f584
mov ecx, esi
test eax, eax
jne 0x40f593
push eax
push eax
mov ecx, esi
call fcn.00401e10
jmp 0x40f5c0
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00401e10
jmp 0x40f5c0
cmp ecx, 0x10
jb 0x40f5aa
mov ecx, dword [esi]
jmp 0x40f5ac
mov ecx, esi
test eax, eax
je 0x40f5b2
sub eax, ecx
sub edx, edi
mov ecx, esi
push edx
push edi
push 0
push eax
call fcn.00409760
add ebx, dword [ebp - 0x34]
xor eax, eax
cmp eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
jl 0x40f540
jg 0x40f5db
cmp ebx, eax
jb 0x40f540
mov eax, dword [ebp - 0x30]
test edi, edi
je 0x40f4cc
push edi
call fcn.0045c481
mov eax, dword [ebp - 0x30]
add esp, 4
jmp 0x40f4cc
Function at 0x4136e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c3fb
mov eax, dword fs:[0]
push eax
mov eax, 0x1030
call fcn.0047a680
mov eax, dword [0x4a14c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [edi + 0x14], 8
xorps xmm0, xmm0
mov dword [ebp - 0x1038], 0
movdqu xmmword [ebp - 0x1034], xmm0
movdqu xmmword [ebp - 0x1024], xmm0
jb 0x41373c
mov eax, dword [edi]
jmp 0x41373e
mov eax, edi
lea ecx, [ebp - 0x1038]
push ecx
push eax
call fcn.0045f201
add esp, 8
test eax, eax
je 0x413759
xor al, al
jmp 0x41384a
cmp dword [ebp - 0x1024], 0xfffffffe
jae 0x413752
mov dword [ebp - 0x1014], 0
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x41377b
mov edi, dword [edi]
push 0x4901b0
lea eax, [ebp - 0x1014]
push edi
push eax
call fcn.0045f650
add esp, 0xc
cmp dword [ebp - 0x1014], 0
je 0x413752
mov edi, dword [esi + 0x10]
mov eax, dword [ebp - 0x1024]
cmp edi, eax
ja 0x4137cc
cmp dword [esi + 0x14], eax
je 0x4137cc
push 1
push eax
mov ecx, esi
call fcn.00402160
test al, al
je 0x4137cc
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x4137c6
mov eax, dword [esi]
jmp 0x4137c8
mov eax, esi
mov byte [eax + edi], 0
push dword [ebp - 0x1014]
lea eax, [ebp - 0x1010]
push 0x1000
push 1
push eax
call fcn.0045f924
add esp, 0x10
test eax, eax
je 0x41381f
lea esp, [esp]
push eax
lea eax, [ebp - 0x1010]
mov ecx, esi
push eax
call fcn.0040a3a0
push dword [ebp - 0x1014]
lea eax, [ebp - 0x1010]
push 0x1000
push 1
push eax
call fcn.0045f924
add esp, 0x10
test eax, eax
jne 0x4137f0
mov eax, dword [esi + 0x10]
cmp eax, dword [ebp - 0x1024]
mov ecx, dword [ebp - 0x1014]
sete al
mov byte [ebp - 0x1039], al
test ecx, ecx
je 0x41384a
push ecx
call fcn.0045fa3c
mov al, byte [ebp - 0x1039]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045c486
mov esp, ebp
pop ebp
ret
Function at 0x415b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0xfffffffe
mov esi, dword [edi + 0x2c]
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x6c]
sub ecx, edx
mov eax, dword [edi + 0x74]
sub ecx, eax
mov dword [ebp - 4], ecx
jne 0x415ba1
test edx, edx
jne 0x415baa
test eax, eax
jne 0x415baa
mov ecx, esi
jmp 0x415ba7
cmp ecx, 0xffffffff
cmove ecx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [edi + 0x2c]
add eax, 0xfffffefa
add eax, esi
cmp edx, eax
jb 0x415c1c
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.00460e70
mov edx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
sub dword [edi + 0x5c], esi
lea ecx, [eax + edx*2]
jmp 0x415be0
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x415bef
sub eax, esi
jmp 0x415bf1
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x415be0
mov eax, dword [edi + 0x40]
mov edx, esi
lea ecx, [eax + esi*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x415c0f
sub eax, esi
jmp 0x415c11
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x415c00
mov ecx, dword [ebp - 4]
add ecx, esi
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x415cdb
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
cmp eax, ecx
mov edx, eax
cmova edx, ecx
mov dword [ebp - 4], edx
test edx, edx
jne 0x415c49
xor eax, eax
jmp 0x415c9a
sub eax, edx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x415c66
mov ecx, dword [ebx + 0x30]
push edx
mov edx, dword [ebx]
call fcn.004148b0
jmp 0x415c7c
cmp eax, 2
jne 0x415c82
mov eax, dword [ebx]
test eax, eax
je 0x415c7f
mov ecx, dword [ebx + 0x30]
push edx
mov edx, eax
call fcn.00414b40
add esp, 4
mov dword [ebx + 0x30], eax
push dword [ebp - 4]
push dword [ebx]
push dword [ebp - 8]
call fcn.00460e70
mov eax, dword [ebp - 4]
add esp, 0xc
add dword [ebx], eax
add dword [ebx + 8], eax
add dword [edi + 0x74], eax
mov ebx, dword [edi + 0x74]
cmp ebx, 3
jb 0x415cc2
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
cmp ebx, 0x106
jae 0x415cdb
mov eax, dword [edi]
mov ebx, 0xfffffffe
cmp dword [eax + 4], 0
jne 0x415b83
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4366c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e7ef
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a14c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x48ded3
mov byte [esi], 0
call fcn.00402220
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x48ded3
mov byte [ecx], 0
call fcn.00402220
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 2
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x48ded3
mov byte [ecx], 0
call fcn.00402220
mov byte [ebp - 4], 3
lea ecx, [esi + 0x5c]
mov dword [esi + 0x58], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x48ded3
mov byte [ecx], 0
call fcn.00402220
mov byte [ebp - 4], 4
lea ecx, [esi + 0x78]
mov dword [esi + 0x74], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x48ded3
mov byte [ecx], 0
call fcn.00402220
xor eax, eax
mov byte [ebp - 4], 5
lea ecx, [esi + 0x9c]
mov word [esi + 0x90], ax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
push eax
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], eax
push 0x48ded3
mov byte [ecx], al
call fcn.00402220
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret