joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4239d5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00423951
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x423b4d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x423b4d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x423afc
jg 0x423a2e
test eax, eax
je 0x423af2
push 1
push 0x1000
call fcn.0041db2d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x423a54
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x423ae9
push 0x8000
push ebx
call fcn.004170c4
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x423a80
jg 0x423a7b
cmp ecx, 0x1000
jb 0x423a80
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041cd10
add esp, 0x10
cmp eax, 0xffffffff
je 0x423ac5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x423a7b
jl 0x423aac
test ecx, ecx
jne 0x423a6d
push dword [ebp - 0xc]
push ebx
call fcn.004170c4
push esi
call fcn.004199c3
add esp, 0xc
xor edi, edi
jmp 0x423b5e
cmp byte [edi + 0x24], 0
je 0x423adc
cmp dword [edi + 0x20], 5
jne 0x423adc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x423ae7
mov edi, dword [edi + 0x18]
jmp 0x423ae9
xor edi, edi
push esi
call fcn.004199c3
pop ecx
jmp 0x423b5e
test ecx, ecx
jg 0x423abe
jl 0x423afc
test eax, eax
jae 0x423abe
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041c3c5
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x423b1f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x423abe
jmp 0x423b56
push ebx
call fcn.0041ef94
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x423abe
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x423b5e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x423b5b
mov edi, dword [edi + 0x18]
jmp 0x423b5e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041c3c5
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x424f20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424f4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424f4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x59cdfd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a89e8]
jne 0x59ce07
repz ret
jmp fcn.0059f74e

Function at 0x5a00df
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0059bb66
and dword [ebp - 4], 0
cmp dword [0x5aa67c], 0
mov ebx, eax
jne 0x5a0190
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5a0241
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5a0241
push eax
call fcn.0059baf4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5aa67c], eax
call esi
push eax
call fcn.0059baf4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5aa680], eax
call esi
push eax
call fcn.0059baf4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5aa684], eax
call esi
push eax
call fcn.0059baf4
pop ecx
mov dword [0x5aa68c], eax
test eax, eax
je 0x5a0190
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0059baf4
pop ecx
mov dword [0x5aa688], eax
mov eax, dword [0x5aa688]
cmp eax, ebx
je 0x5a01e8
cmp dword [0x5aa68c], ebx
je 0x5a01e8
push eax
call fcn.0059bb6f
push dword [0x5aa68c]
mov esi, eax
call fcn.0059bb6f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5a01e8
test edi, edi
je 0x5a01e8
call esi
test eax, eax
je 0x5a01df
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5a01df
test byte [ebp - 0xc], 1
jne 0x5a01e8
or dword [ebp + 0x10], 0x200000
jmp 0x5a0221
mov eax, dword [0x5aa680]
cmp eax, ebx
je 0x5a0221
push eax
call fcn.0059bb6f
pop ecx
test eax, eax
je 0x5a0221
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5a0221
mov eax, dword [0x5aa684]
cmp eax, ebx
je 0x5a0221
push eax
call fcn.0059bb6f
pop ecx
test eax, eax
je 0x5a0221
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5aa67c]
call fcn.0059bb6f
pop ecx
test eax, eax
je 0x5a0241
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5a0243
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5a10ba
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x5a7d50], 0x1d1e
mov dword [ebp - 0x10], eax
call fcn.005a2028
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x5a1100
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x5a7d4c], 0x1009
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x5a7d50], 0xdcb
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x5a1235
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jmp 0x5a1164
mov al, byte [ebp - 0x39]
test al, 1
jne 0x5a1208
jmp 0x5a11de
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x5a7d50], 0x2147
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x39], cl
je 0x5a1157
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x39]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x5a1188
jmp 0x5a1157
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
jb 0x5a1164
jmp 0x5a1235
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x5a7d4c], 0xff1
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x5a7d50], 0xe5e
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5a15bc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x5a7d4c], 0x1b77
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x5a7d4c], 0x2042
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x5a16a4
jmp 0x5a1689
xor eax, eax
mov dword [0x5a7d50], 0x2099
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
je 0x5a16d5
jmp 0x5a1707
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x5a16f5
jmp 0x5a1707
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
je 0x5a163d
jmp 0x5a1707
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
je 0x5a165a
jmp 0x5a1707
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x5a15fa
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jne 0x5a1707
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
je 0x5a1616
jmp 0x5a1707
xor eax, eax
mov dword [0x5a7d4c], 0xe2e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
je 0x5a1673
jmp 0x5a1707
mov eax, 1
mov dword [0x5a7d50], 0xffffe8fd
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x5a18d3
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x5a7d58], 0
mov byte [0x5a7d5c], 0
mov dword [0x5a7d54], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x5a7d4c], 0x2469
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x5a7d54]
add eax, 1
mov dword [0x5a7d54], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x5a190e
xor eax, eax
mov ecx, dword [0x5a7d4c]
add ecx, 0xffffdfaa
mov dword [0x5a7d4c], ecx
mov dword [0x5a7d54], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x5a7d60], 0
mov dword [0x5a7d50], 0x1383
mov edi, dword [0x5a7d58]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x5a7d60], esi
mov dword [0x5a7d4c], 0x126c
mov eax, esi
cdq
idiv ecx
mov dword [0x5a7d58], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x5a7d5c], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x5a7d5c]
mov esi, dword [0x5a7d58]
mov byte [ebx + esi], cl
mov esi, dword [0x5a7d54]
add esi, 1
mov dword [0x5a7d54], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x5a195f
mov dword [0x5a7d4c], 0x2f7
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5a1ad2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x5a7d50], 0x166c
mov dword [0x5a7d4c], 0x1376
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x5a1bc7
lea eax, [0x5a325b]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x13c]
add esi, 0x51540
mov edi, dword [ebp - 0x13c]
add edi, 0x5371a
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], esi
call fcn.005a18d3
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov ecx, dword [ebp - 0x13c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x150]
mov dword [esp + 0xc], edx
call fcn.005a2194
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x140]
mov dword [ecx], edx
mov dword [ecx + 4], 0x142200
mov edx, dword [ebp - 0x14c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x20d0
mov dword [0x5a7d4c], 0x7f9
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, ecx, 0x14
mov edi, edx
add edi, esi
add edi, 0x10
imul esi, ecx, 0x14
add edx, esi
add edx, 4
add ecx, 1
mov esi, dword [edi]
movzx edx, word [edx]
xor edx, esi
add edx, eax
cmp ecx, 0x176
mov eax, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x5a1bc7
xor eax, eax
mov dword [0x5a7d50], 0x256
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x5a327c]
mov dh, byte [eax + 0x5a324d]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x154], ecx
jne 0x5a1c34
lea eax, [ebp - 0x12c]
mov dword [0x5a7d4c], 0x336
mov dword [ebp - 0x158], eax
call fcn.005a1240
mov dword [esp], eax
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], eax
call fcn.005a0e48
mov ecx, eax
mov dword [0x5a7d68], eax
mov eax, esp
mov edx, dword [ebp - 0x150]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [0x5a7d4c], 0x15ce
mov edx, ecx
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x160], ecx
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
lea edx, section..data
imul esi, ecx, 0x14
mov edi, edx
add edi, esi
add edi, 4
mov esi, dword [ebp - 0x13c]
add esi, eax
imul ebx, ecx, 0x14
mov dword [ebp - 0x164], eax
mov eax, edx
add eax, ebx
add eax, 0x10
imul ebx, ecx, 0x14
add edx, ebx
add ecx, 1
mov eax, dword [eax]
mov edx, dword [edx]
movzx edi, word [edi]
xor edi, eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x16c], ecx
call fcn.005a1fc8
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x164]
add eax, ecx
mov edx, dword [ebp - 0x16c]
cmp edx, 0x176
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x160], eax
je 0x5a1b10
jmp 0x5a1cdf
Function at 0x5a1d82
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x5a7d50], 0x256
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x5a327c]
mov dh, byte [eax + 0x5a324d]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x5a1dd8
jmp 0x5a1da4
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [0x5a7d50], 0x1b45
mov dword [0x5a7d4c], 0x336
mov dword [ebp - 0x34], eax
call fcn.005a1240
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.005a0e48
mov dword [0x5a7d4c], 0x1dfa
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x5a1dd0
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.005a1724
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x5a7d4c], 0x1cae
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x50], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x44], ecx
mov dword [0x5a7d50], 0x3c1
add ecx, 0x2687
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x5a1eaf
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x5a2194
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x5a7d54], 0
mov dword [0x5a7d58], 0
mov dword [0x5a7d64], 0
mov dword [0x5a7d50], 0x109b
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x5a22ea
jmp 0x5a2210
mov eax, dword [0x5a7d58]
mov ecx, dword [0x5a7d54]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, ecx
add edi, 1
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x5a7d54], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x5a7d58], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x5a7d5c], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x5a7d5c]
mov edx, dword [0x5a7d58]
mov byte [ebx + edx], cl
mov dword [0x5a7d50], 0x122e
mov edx, dword [0x5a7d54]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x5a7d58]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x5a7d64], ecx
mov dword [0x5a7d50], 0x2252
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov dword [0x5a7d50], 0x100b
mov dword [0x5a7d4c], 0x156a
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x2c], edi
jne 0x5a21f9
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5a22f2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x5a7d4c], 0x928
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.005a1ad2
lea ecx, [0x5a188c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], 0x142200
mov edx, dword [0x5a7d38]
mov dword [esp + 0x68], edx
mov edx, dword [0x5a7d3c]
mov dword [esp + 0x24], edx
mov edx, dword [0x5a7d50]
add edx, 0xffffdee9
mov dword [0x5a7d4c], edx
mov edx, dword [0x5a7d40]
mov dword [esp + 0x38], edx
mov edx, dword [0x5a7d44]
mov dword [esp + 0x58], edx
mov edx, dword [0x5a7d48]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x5a239c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x5a23bf
jmp 0x5a23ab
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x5a2386
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x5a239c
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x44], edx
call fcn.005a15bc
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x5a242e
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005a1d82
mov dword [0x5a7d50], 0x1220
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x5a7d4c]
add ecx, 0xfffff14b
mov dword [0x5a7d4c], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x42312c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x42313b
pop dword [ebp - 0x44]
mov eax, 0xe946cf4c
add eax, 0x16fb61ef
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3ef43
push 0
mov eax, 0xdad9b237
sub eax, 0xda97601f
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0xc76cc2c
add ecx, 0xf3898027
xor esi, esi
add esi, eax
mov edi, 0x435400
add edi, dword [ebp - 0x44]
mov ebx, 0x576580db
mov dword [ebp - 0x2c], 0x491d886c
mov edx, dword [edi]
xor dword [ebp - 0x14], 0x6a1c226
sub edx, ebx
sub dword [ebp - 0x34], ecx
mov dword [esi], edx
xor dword [ebp - 0x38], 0xa2940e00
add esi, 0xdde190e2
sub esi, 0xdde190de
add edi, 4
loop 0x423190
add eax, 0x52900699
sub eax, 0x528ee27a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4298e5
Capabilities:
Encode data using xor

Disassembly:
and eax, eax
sbb al, 0xb7
xchg byte [ebp - 0x6d00ec27], bh
adc dh, byte [eax + 0x6a]
invalid
out 0x11, eax
ja 0x4298c0
cmp eax, 0x6c2dd052
adc edx, dword [edi - 0x1d]
add dword [ecx + 0xfcf6f9c], ecx
xchg esi, eax
jo 0x42995c
dec esi
bound edx, qword [esi - 0x43]
call 0x1c77b961
invalid
mov cl, 0x7a
cmc
or al, 0x9a
daa
or ch, 0xf7
mov cs, word [0xb495b979]
xchg cl, bh
inc ebp
push 0xa38ff491
mov edx, 0xb0967afe
jle 0x42996c
loope 0x42995c
push ebx
sahf
pop ds
enter 0xffffffffffff9e0f, 0x15
neg bl
mov esi, 0x7324837d
mov ebx, 0xb3baf4a4
jge 0x429948
test al, 0x13
mov ebp, 0xa7b15f7f
jg 0x4299aa
mov cl, 0xa7
lcall 0xb337, 0x4033bf38
cmp dword [ecx], eax
sub eax, 0xe430b6bf
xor al, 0xfc
cld
or byte [esi + 0x58b2701f], ch
mov dl, 0x58
jl 0x429949
and dl, byte [edx - 0x15]
mov ecx, 0xd5c1e56d
or dword [eax - 0x351cbec3], edi
aad 9
mov eax, 0xcae3413d
xchg ebx, eax
mov cs, word [edx]
sub al, 0x1a
sub eax, 0x6cdcdaa4
mov byte [eax], bh
mov ebx, 0xcffe8f28
mov dword [esi], esi
mov bh, byte [edi]
loopne 0x429911
push eax
xor byte [edi + 0x1c0e5a66], al
adc ah, 0xa2
mov ecx, 0xf067c90d
mov ebx, 0x70c5ac5e
add edi, esp
jb 0x429961
lds esp, [edx + edx*4]
sub dword [eax], 0x21db591
stosd dword es:[edi], eax
lahf
int1
inc esi
mov byte [ecx - 0x62], dl
add ch, byte [ebx - 0x77b90e61]
push esp
popal
sahf
invalid
Function at 0x438aa5
Capabilities:
Encode data using xor

Disassembly:
test al, 0x4a
sbb edx, dword [edx + 0x555d1a78]
insb byte es:[edi], dx
add byte [ebp - 0x33b552c1], bl
invalid
xlatb
in al, dx
xor ecx, dword [esi]
adc eax, 0xfa67b56c
popfd
xchg dword [edx + edx*4 + 0x32588519], eax
mov ebp, 0x4417b860
xor bh, byte [ebp + 0x4417b860]
stosb byte es:[edi], al
mov dword [0xfc6fda76], edx
xchg ecx, eax
wait
or dh, byte [edx + eax*8]
or edi, dword [ebx + 0x3332427a]
jb 0x438a44
daa
push 0x171df2ed
xor dword [eax], edi
jno 0x438ab1
add eax, 0x98d03976
push ecx
xchg byte [eax + ecx], cl
mul byte [ebp - 0x1b]
arpl bp, di
mov cl, 0xea
sub ebp, dword [edi + 0x65]
dec esi
jbe 0x438a09
imul esi, dword [ebx], 0x2d5c6df6
invalid
jmp 0x438aae
inc ebx
add dword [ebx], ecx
out dx, eax
jns 0x438a34
push ebp
xlatb
adc al, 0x72
mov ch, 0x74
invalid
Function at 0x450c05
Capabilities:
Encode data using xor

Disassembly:
adc ecx, esp
arpl word [ebx - 0x3c2d26bf], sp
dec edx
mov eax, dword [edx - 2]
mov byte [0x82d512cf], al
adc byte [0x50194a2e], bh
cdq
xor ebp, dword [edi + 0x411d7550]
sbb eax, 0xf78292ce
sbb eax, dword [edi + 0x10]
jb 0x450c7e
invalid
sar dword [edx + 0x262e8a32], 0xf1
in eax, 0xd3
test al, 0x7f
retf 0xbaed
Function at 0x467a65
Capabilities:
Encode data using xor

Disassembly:
and esp, dword [ebp - 0x561887ea]
mov cl, 0x53
and ebx, dword [ebp + 0x20]
cli
adc edx, dword [ecx]
push eax
cdq
movsd dword es:[edi], dword gs:[esi]
push ebx
and eax, 0x4b36b4e6
rol edi, 0x65
mov ch, 0x30
les esi, [ebp - 0x5f5bcfe0]
add ah, byte [eax]
pop edx
push edx
adc dh, cl
mov dh, 0x7c
mov word [ecx - 0x4ecf50cb], es
lodsb al, byte [esi]
xor al, 0x9a
dec ebp
xchg esi, eax
fld st(1)
xor eax, 0x968c21c0
lcall 0x27a0, 0x27b55ddd
pop ecx
mov al, byte [0x219f590a]
xor al, 0xd9
cmpsb byte [esi], byte es:[edi]
inc edi
mov dh, 0xd5
test al, 0x69
jge 0x467a9a
pop ds
mov dh, 0xb4
adc edx, ebp
sar byte [esi + 0x39], 1
and dl, byte [ecx]
ret 0x3081