joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474540
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x80], 0
push edi
je 0x47455c
call fcn.00451bf0
add dword [esi + 0x80], eax
mov eax, dword [0x4dfcf8]
mov ecx, dword [0x4dfcf4]
add dword [0x4e90ac], 1
push 0
push eax
lea ebx, [esi + 0x1c]
lea edi, [esi + 0x24]
push ecx
mov edx, ebx
mov ecx, edi
call fcn.004518e0
test al, al
je 0x474617
mov ecx, dword [ebx]
lea edx, [esp + 0xc]
push edx
lea eax, [esi + 0x34]
push eax
push ecx
mov dword [esp + 0x18], 0x10
call sub.WS2_32.dll_getsockname
mov eax, dword [ebx]
lea edx, [esp + 0xc]
push edx
push edi
push eax
call sub.WS2_32.dll_getpeername
mov ecx, esi
call fcn.0046f380
mov dword [esi + 0x18], 5
call fcn.00451bf0
movzx edx, word [edi + 2]
mov ecx, dword [edi + 4]
push edx
mov ebx, eax
mov dword [esp + 0x14], ecx
call sub.WS2_32.dll_ntohs
push ebx
movzx edx, ax
push 3
lea ecx, [esp + 0x18]
call fcn.00474460
sub dword [0x4e90ac], 1
mov eax, dword [esi + 0x68]
test eax, eax
je 0x47467f
cmp byte [0x4dfcfc], 0
je 0x47467f
mov ecx, dword [esi + 0x64]
push 0
push 0
push ecx
mov ecx, dword [esi]
push 1
mov edx, edi
call eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp dword [ebx], 0xffffffff
jne 0x474678
mov dword [esi + 0x18], 8
call fcn.00451bf0
mov edx, dword [edi + 4]
mov ebx, eax
movzx eax, word [edi + 2]
push eax
mov dword [esp + 0x14], edx
call sub.WS2_32.dll_ntohs
push ebx
movzx edx, ax
push 2
lea ecx, [esp + 0x18]
call fcn.00474460
sub dword [0x4e90ac], 1
mov eax, dword [esi + 0x68]
test eax, eax
je 0x47467f
cmp byte [0x4dfcfc], 0
je 0x47467f
mov ecx, dword [esi + 0x64]
push 0
push 0
push ecx
mov ecx, dword [esi]
push 3
mov edx, edi
call eax
pop edi
pop esi
pop ebx
add esp, 8
ret
mov dword [esi + 0x18], 4
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x474710
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
push edi
lea edi, [esi + 0x1c]
call fcn.00444870
test eax, eax
jne 0x4747ac
cmp dword [esi + 0x80], eax
je 0x4748b3
call fcn.00451bf0
sub eax, dword [esi + 0x80]
js 0x4748b3
call fcn.00451bf0
movzx ecx, word [esi + 0x26]
lea ebx, [esi + 0x24]
mov ebp, eax
mov eax, dword [ebx + 4]
push ecx
mov dword [esp + 0x14], eax
call sub.WS2_32.dll_ntohs
push ebp
movzx edx, ax
push 2
lea ecx, [esp + 0x18]
call fcn.00474460
mov dl, 1
mov ecx, edi
call fcn.00449db0
mov edi, 1
sub dword [0x4e90ac], edi
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4748a6
cmp byte [0x4dfcfc], 0
je 0x4748a6
mov edx, dword [esi + 0x64]
push 0
push 0
push edx
jmp 0x47489e
jle 0x474848
mov edx, dword [edi]
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x34]
push ecx
push edx
mov dword [esi + 0x18], 5
mov dword [esp + 0x1c], 0x10
call sub.WS2_32.dll_getsockname
mov ecx, dword [edi]
lea eax, [esp + 0x10]
push eax
lea ebx, [esi + 0x24]
push ebx
push ecx
call sub.WS2_32.dll_getpeername
mov ecx, esi
call fcn.0046f380
call fcn.00451bf0
mov edx, dword [ebx + 4]
mov edi, eax
movzx eax, word [ebx + 2]
push eax
mov dword [esp + 0x18], edx
call sub.WS2_32.dll_ntohs
push edi
movzx edx, ax
push 3
lea ecx, [esp + 0x1c]
call fcn.00474460
sub dword [0x4e90ac], 1
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4748b3
cmp byte [0x4dfcfc], 0
je 0x4748b3
mov ecx, dword [esi + 0x64]
push 0
push 0
push ecx
mov ecx, dword [esi]
push 1
mov edx, ebx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
call fcn.00451bf0
mov edx, dword [esi + 0x28]
lea ebx, [esi + 0x24]
mov ebp, eax
movzx eax, word [ebx + 2]
push eax
mov dword [esp + 0x18], edx
call sub.WS2_32.dll_ntohs
push ebp
movzx edx, ax
push 2
lea ecx, [esp + 0x1c]
call fcn.00474460
xor dl, dl
mov ecx, edi
call fcn.00449db0
mov edi, 1
sub dword [0x4e90ac], edi
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4748a6
cmp byte [0x4dfcfc], 0
je 0x4748a6
mov ecx, dword [esi + 0x64]
push 0
push 0
push ecx
mov ecx, dword [esi]
push 3
mov edx, ebx
call eax
mov dword [esi + 0x18], 8
add dword [0x4e9090], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x476bb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x476be2
lea esp, [esp]
test cl, 3
je 0x476be2
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4cc380]
add ecx, 1
sub esi, 1
jne 0x476bc0
cmp esi, 0x20
push ebx
push edi
jb 0x476dcc
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4cc780]
xor edx, dword [ebx*4 + 0x4ccb80]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4cc380]
add ecx, 4
xor edx, dword [eax*4 + 0x4ccf80]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4cc780]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ccb80]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4cc380]
add ecx, 4
xor eax, dword [edx*4 + 0x4ccf80]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4cc780]
xor edx, dword [ebx*4 + 0x4ccb80]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4cc380]
xor edx, dword [eax*4 + 0x4ccf80]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4cc780]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ccb80]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4cc380]
xor eax, dword [edx*4 + 0x4ccf80]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4cc780]
xor edx, dword [ebx*4 + 0x4ccb80]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4cc380]
xor edx, dword [eax*4 + 0x4ccf80]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4cc780]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ccb80]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4cc380]
and edx, 0xff
xor eax, dword [edx*4 + 0x4ccf80]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x4cc780]
xor edx, dword [ebx*4 + 0x4ccb80]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4cc380]
add ecx, 4
xor edx, dword [eax*4 + 0x4ccf80]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4cc780]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4ccb80]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x4cc380]
and edx, 0xff
xor eax, dword [edx*4 + 0x4ccf80]
sub edi, 1
jne 0x476bf2
cmp esi, 4
jb 0x476e19
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x4cc780]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x4ccb80]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4cc380]
and eax, 0xff
xor edi, dword [eax*4 + 0x4ccf80]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x476dd6
test esi, esi
pop edi
pop ebx
je 0x476e3d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4cc380]
add ecx, 1
sub esi, 1
jne 0x476e20
not eax
pop esi
ret
Function at 0x4795d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
cmp eax, edx
mov dword [esp + 0xc], edi
jb 0x479660
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.0048cf70
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x47962f
sub eax, ebp
jmp 0x479631
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x479620
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x479650
sub eax, ebp
jmp 0x479652
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x479641
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x479710
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [esp + 0xc]
mov ebx, ecx
cmp ebx, edx
mov dword [esp + 0x10], eax
jbe 0x479688
mov ebx, edx
test ebx, ebx
je 0x4796d2
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
mov ecx, dword [edx + 0x18]
cmp ecx, 1
jne 0x4796a9
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
call fcn.00476930
jmp 0x4796b9
cmp ecx, 2
jne 0x4796c0
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
call fcn.00476e50
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
push ebx
push ecx
push eax
call fcn.0048cf70
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x4796fc
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x479710
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x4795e0
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x47eac0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
or esi, 8
xor eax, eax
cmp esi, 1
je 0x47eaf6
push edi
mov edx, esi
shr esi, 1
mov edi, dword [ecx + esi*4]
and edx, 1
sub edi, edx
neg edx
xor edi, edx
shr edi, 2
and edi, 0x1ff
add eax, dword [edi*4 + 0x4e9af8]
cmp esi, 1
jne 0x47ead0
pop edi
pop esi
ret 4

Function at 0x47eb00
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
lea esi, [eax + 1]
lea ebx, [eax + 4]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
mov edx, edi
and edx, 1
sub ecx, edx
mov ebp, edx
neg ebp
xor ecx, ebp
shr ecx, 2
and ecx, 0x1ff
add eax, dword [ecx*4 + 0x4e9af8]
add esi, esi
shr edi, 1
or esi, edx
sub ebx, 1
jne 0x47eb15
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x47eb50
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
xor eax, eax
test edx, edx
push esi
mov dword [esp + 8], ecx
lea esi, [eax + 1]
mov ebx, edx
je 0x47eba1
push ebp
push edi
mov edi, dword [esp + 0x18]
jmp 0x47eb70
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
mov edx, edi
and edx, 1
sub ecx, edx
mov ebp, edx
neg ebp
xor ecx, ebp
shr ecx, 2
and ecx, 0x1ff
add eax, dword [ecx*4 + 0x4e9af8]
add esi, esi
shr edi, 1
or esi, edx
sub ebx, 1
jne 0x47eb70
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret 4

Function at 0x47edc0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
xor ebp, ebp
cmp byte [esp + 0x10], 0
push esi
mov eax, ecx
push edi
mov dword [esp + 0x10], eax
lea edi, [ebp + 1]
lea ebx, [ebp + 8]
je 0x47ee3b
movzx ecx, byte [esp + 0x20]
mov dword [esp + 0x18], ecx
movzx esi, byte [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub ebx, 1
movzx ecx, bl
shr esi, cl
shr edx, cl
and esi, 1
mov ecx, esi
shl ecx, 8
add ecx, edi
mov eax, dword [eax + ecx*4 + 0x400]
and edx, 1
sub eax, edx
mov ecx, edx
neg ecx
xor eax, ecx
shr eax, 2
and eax, 0x1ff
add ebp, dword [eax*4 + 0x4e9af8]
add edi, edi
or edi, edx
cmp esi, edx
jne 0x47ee33
test ebx, ebx
je 0x47ee75
mov eax, dword [esp + 0x10]
jmp 0x47ede3
test ebx, ebx
je 0x47ee75
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x18]
sub ebx, 1
mov cl, bl
shr edx, cl
mov ecx, dword [eax + edi*4]
add edi, edi
and edx, 1
sub ecx, edx
mov esi, edx
neg esi
xor ecx, esi
shr ecx, 2
and ecx, 0x1ff
add ebp, dword [ecx*4 + 0x4e9af8]
or edi, edx
test ebx, ebx
jne 0x47ee44
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x47ef00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x20]
mov ecx, eax
shr ecx, 2
mov edx, dword [ecx*4 + 0x4e9af8]
mov ecx, 0x800
sub ecx, eax
shr ecx, 2
mov eax, dword [ecx*4 + 0x4e9af8]
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], edx
mov edx, ecx
shr edx, 2
mov ebp, dword [edx*4 + 0x4e9af8]
mov edx, 0x800
sub edx, ecx
shr edx, 2
mov ecx, dword [edx*4 + 0x4e9af8]
add ebp, eax
add ecx, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
xor esi, esi
mov edi, edi
cmp esi, dword [esp + 0x24]
jae 0x47f062
mov eax, ebx
shl eax, 5
push esi
lea ecx, [eax + edi + 8]
call fcn.0047eac0
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [ecx + esi*4], eax
add esi, 1
cmp esi, 8
jb 0x47ef60
cmp esi, 0x10
jae 0x47f000
lea ecx, [esi - 8]
mov dword [esp + 0x20], ecx
jmp 0x47efa0
cmp esi, dword [esp + 0x24]
jae 0x47f062
or ecx, 8
xor edx, edx
cmp ecx, 1
je 0x47efe4
mov eax, ecx
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebx*8]
mov ebp, dword [edi + ebp*4 + 0x208]
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
add edx, dword [ebp*4 + 0x4e9af8]
cmp ecx, 1
jne 0x47efb4
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add edx, ebp
mov dword [eax + esi*4], edx
add esi, 1
add ecx, 1
cmp esi, 0x10
mov dword [esp + 0x20], ecx
jb 0x47efa0
cmp esi, dword [esp + 0x24]
jae 0x47f062
lea ebx, [esi - 0x10]
lea esp, [esp]
mov ecx, ebx
or ecx, 0x100
xor edx, edx
cmp ecx, 1
je 0x47f049
nop
mov eax, ecx
shr ecx, 1
mov ebp, dword [edi + ecx*4 + 0x408]
and eax, 1
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
add edx, dword [ebp*4 + 0x4e9af8]
cmp ecx, 1
jne 0x47f020
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add edx, ecx
mov dword [eax + esi*4], edx
add esi, 1
add ebx, 1
cmp esi, dword [esp + 0x24]
jb 0x47f010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4804d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov edi, 4
cmp edi, 0x2000
jae 0x4804f2
movzx esi, byte [edi + 0x4ea2f8]
jmp 0x48051a
cmp edi, 0x2000000
jae 0x48050b
mov eax, edi
shr eax, 0xc
movzx esi, byte [eax + 0x4ea2f8]
add esi, 0x18
jmp 0x48051a
mov ecx, edi
shr ecx, 0x18
movzx esi, byte [ecx + 0x4ea2f8]
add esi, 0x30
mov edx, esi
shr edx, 1
mov eax, esi
and eax, 1
sub edx, 1
or eax, 2
mov ecx, edx
shl eax, cl
mov ecx, edi
sub ecx, eax
sub eax, esi
push ecx
lea ecx, [ebx + eax*4 + 0x28bac]
call fcn.0047eb50
mov dword [esp + edi*4 + 0x1c], eax
add edi, 1
cmp edi, 0x80
jb 0x4804e1
lea ebp, [esp + 0x1c]
sub ebp, ebx
lea esi, [ebx + 0x3331c]
sub ebp, 0x33314
lea edx, [ebx + 0x32f14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 4
jmp 0x480584
mov esi, dword [esp + 0x10]
xor edi, edi
cmp dword [ebx + 0x33b58], edi
jbe 0x4805df
mov edi, edi
mov ecx, edi
or ecx, 0x40
xor esi, esi
cmp ecx, 1
je 0x4805cd
lea esp, [esp]
mov eax, ecx
shr ecx, 1
mov ebp, dword [edx + ecx*4 - 0xa764]
and eax, 1
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
add esi, dword [ebp*4 + 0x4e9af8]
cmp ecx, 1
jne 0x4805a0
mov ebp, dword [esp + 0x14]
mov dword [edx + edi*4], esi
add edi, 1
cmp edi, dword [ebx + 0x33b58]
jb 0x480590
mov esi, dword [esp + 0x10]
mov eax, 0xe
cmp dword [ebx + 0x33b58], eax
jbe 0x480608
lea esp, [esp]
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 6
add dword [edx + eax*4], ecx
add eax, 1
cmp eax, dword [ebx + 0x33b58]
jb 0x4805f0
mov eax, dword [edx]
mov dword [esi - 8], eax
mov ecx, dword [edx + 4]
mov dword [esi - 4], ecx
mov eax, dword [edx + 8]
mov dword [esi], eax
mov ecx, dword [edx + 0xc]
mov dword [esi + 4], ecx
mov eax, 4
add esi, 8
cmp eax, 0x2000
jae 0x480636
movzx ecx, byte [eax + 0x4ea2f8]
jmp 0x48065b
cmp eax, 0x2000000
mov ecx, eax
jae 0x48064e
shr ecx, 0xc
movzx ecx, byte [ecx + 0x4ea2f8]
add ecx, 0x18
jmp 0x48065b
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4ea2f8]
add ecx, 0x30
mov ecx, dword [edx + ecx*4]
add ecx, dword [esi + ebp]
add eax, 1
mov dword [esi], ecx
add esi, 4
cmp eax, 0x80
jb 0x480626
add dword [esp + 0x10], 0x200
sub ebp, 0x200
add edx, 0x100
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ebp
jne 0x480580
pop edi
pop esi
pop ebp
mov dword [ebx + 0x33b70], 0
pop ebx
add esp, 0x20c
ret
Function at 0x4841c2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [eax + 0x25c], 0
jle 0x4825bb
push ebx
mov ecx, 0xfffffff8
push edi
mov edi, dword [eax + 0x4c]
mov bl, byte [eax + 0x25b]
mov edx, dword [eax + 0x2c]
mov byte [edx + edi], bl
add dword [eax + 0x4c], 1
shl dword [eax + 0x258], 8
add dword [eax + 0x25c], ecx
cmp dword [eax + 0x25c], 0
jg 0x482590
pop edi
pop ebx
ret
push ecx
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
mov byte [esp + 8], dl
jle 0x484204
mov eax, dword [esi + 0x260]
mov ecx, dword [esi + 0x264]
not eax
rol ecx, 1
xor ecx, eax
cmp dword [esi + 0x26c], 1
mov dword [esi + 0x260], eax
mov dword [esi + 0x264], ecx
jle 0x4841fd
mov dword [esi + 0x4c], 0
mov ecx, esi
call fcn.0048a800
mov edx, dword [esi + 0x14]
add edx, dword [esi + 0x44]
cmp dword [esi + 0x26c], 1
mov dword [esi + 0x2c], edx
jne 0x484264
push 8
mov ecx, 0x42
mov eax, esi
mov dword [esi + 0x25c], 0
mov dword [esi + 0x258], 0
call fcn.004825c0
push 8
mov ecx, 0x5a
call fcn.004825c0
push 8
mov ecx, 0x68
call fcn.004825c0
mov al, byte [esi + 0x270]
add al, 0x30
movzx ecx, al
push 8
mov eax, esi
call fcn.004825c0
cmp dword [esi + 0x44], 0
jle 0x48430d
push 8
mov ecx, 0x31
mov eax, esi
call fcn.004825c0
push 8
mov ecx, 0x41
call fcn.004825c0
push 8
mov ecx, 0x59
call fcn.004825c0
push 8
mov ecx, 0x26
call fcn.004825c0
push 8
mov ecx, 0x53
call fcn.004825c0
push 8
mov ecx, 0x59
call fcn.004825c0
mov ebx, dword [esi + 0x260]
mov ecx, ebx
shr ecx, 0x18
push 8
call fcn.004825c0
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
push 8
call fcn.004825c0
movzx ecx, bh
push 8
call fcn.004825c0
movzx ecx, bl
push 8
call fcn.004825c0
push 1
xor ecx, ecx
call fcn.004825c0
mov ecx, dword [esi + 0x1c]
push 0x18
call fcn.004825c0
call fcn.004826a0
call fcn.00482850
cmp byte [esp + 8], 0
je 0x4843a4
push 8
mov ecx, 0x17
mov eax, esi
call fcn.004825c0
push 8
mov ecx, 0x72
call fcn.004825c0
push 8
mov ecx, 0x45
call fcn.004825c0
push 8
mov ecx, 0x38
call fcn.004825c0
push 8
mov ecx, 0x50
call fcn.004825c0
push 8
mov ecx, 0x90
call fcn.004825c0
mov ebx, dword [esi + 0x264]
mov ecx, ebx
shr ecx, 0x18
push 8
call fcn.004825c0
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
push 8
call fcn.004825c0
movzx ecx, bh
push 8
call fcn.004825c0
movzx ecx, bl
push 8
call fcn.004825c0
pop esi
pop ebx
add esp, 4
jmp 0x482580
pop esi
pop ebx
pop ecx
ret

Function at 0x4901eb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e1210]
jne 0x4901f5
repz ret
jmp fcn.0049a15e
Function at 0x4929b8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4e1220]
je 0x4929d3
inc edi
cmp edi, 0x17
jb 0x4929c4
cmp edi, 0x17
jae 0x492b53
push ebp
push 3
call fcn.0049d2da
cmp eax, 1
pop ecx
je 0x492b1f
push 3
call fcn.0049d2da
test eax, eax
pop ecx
jne 0x492a07
cmp dword [0x4e0ee0], 1
je 0x492b1f
cmp ebx, 0xfc
je 0x492b52
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4eca50
push ebp
call fcn.00492852
add esp, 0xc
test eax, eax
je 0x492a3d
push esi
push esi
push esi
push esi
push esi
call fcn.0048c36f
add esp, 0x14
push 0x104
mov esi, 0x4eca69
push esi
push 0
mov byte [0x4ecb6d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x492a81
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00492852
add esp, 0xc
test eax, eax
je 0x492a81
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0048c36f
add esp, 0x14
push esi
call fcn.00490160
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x492ac6
push esi
call fcn.00490160
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4ecd64
push 0x4d0e54
sub ecx, eax
push ecx
push eax
call fcn.0049b238
add esp, 0x14
test eax, eax
je 0x492ac6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0048c36f
add esp, 0x14
jmp 0x492ac8
xor esi, esi
push 0x4d0e50
push ebx
push ebp
call fcn.0049b1c7
add esp, 0xc
test eax, eax
je 0x492ae8
push esi
push esi
push esi
push esi
push esi
call fcn.0048c36f
add esp, 0x14
push dword [edi*8 + 0x4e1224]
push ebx
push ebp
call fcn.0049b1c7
add esp, 0xc
test eax, eax
je 0x492b0a
push esi
push esi
push esi
push esi
push esi
call fcn.0048c36f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0049d11d
add esp, 0xc
jmp 0x492b52
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x492b52
cmp ebp, 0xffffffff
je 0x492b52
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4e1224]
push dword [esi]
call fcn.00490160
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x49d11d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00492c6b
xor ebx, ebx
cmp dword [0x4ed4dc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x49d1f3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x49d2d3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4d2090
push edi
call esi
cmp eax, ebx
je 0x49d2d3
push eax
call fcn.00492bfd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4ed4dc], eax
call esi
push eax
call fcn.00492bfd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4ed4e0], eax
call esi
push eax
call fcn.00492bfd
mov dword [0x4ed4e4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0048ccfb
test eax, eax
pop ecx
pop ecx
je 0x49d1c1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048c36f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x49d1f3
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00492bfd
cmp eax, ebx
pop ecx
mov dword [0x4ed4ec], eax
je 0x49d1f3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00492bfd
pop ecx
mov dword [0x4ed4e8], eax
mov eax, dword [0x4ed4e8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x49d278
cmp dword [0x4ed4ec], ecx
je 0x49d278
push eax
call fcn.00492c74
push dword [0x4ed4ec]
mov esi, eax
call fcn.00492c74
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x49d278
cmp edi, ebx
je 0x49d278
call esi
cmp eax, ebx
je 0x49d245
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x49d245
test byte [ebp - 0x18], 1
jne 0x49d278
lea eax, [ebp - 0x10]
push eax
call fcn.0048cd32
test eax, eax
pop ecx
je 0x49d260
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048c36f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x49d26f
or dword [ebp + 0x10], 0x200000
jmp 0x49d2b3
or dword [ebp + 0x10], 0x40000
jmp 0x49d2b3
mov eax, dword [0x4ed4e0]
cmp eax, dword [ebp - 8]
je 0x49d2b3
push eax
call fcn.00492c74
cmp eax, ebx
pop ecx
je 0x49d2b3
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x49d2b3
mov eax, dword [0x4ed4e4]
cmp eax, dword [ebp - 8]
je 0x49d2b3
push eax
call fcn.00492c74
cmp eax, ebx
pop ecx
je 0x49d2b3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ed4dc]
call fcn.00492c74
cmp eax, ebx
pop ecx
je 0x49d2d3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x49d2d5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret