joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463924
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov edi, dword [esp + 4]
mov edi, dword [edi + 4]
mov ebp, 0x10
mov ebx, dword [esp]
mov esi, dword [ebx]
xor esi, eax
mov eax, dword [esp]
add eax, 0x48
push eax
push esi
call fcn.00463824
xor eax, edi
mov edi, esi
add ebx, 4
dec ebp
jne 0x463947
mov edi, dword [esp]
mov edi, dword [edi + 0x40]
xor edi, eax
mov eax, dword [esp]
mov eax, dword [eax + 0x44]
xor eax, esi
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 4]
mov dword [eax + 4], edi
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x463988
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov edi, dword [esp + 4]
mov edi, dword [edi + 4]
mov ebp, 0xfffffff0
mov ebx, dword [esp]
add ebx, 0x44
mov esi, dword [ebx]
xor esi, eax
mov eax, dword [esp]
add eax, 0x48
push eax
push esi
call fcn.00463824
xor eax, edi
mov edi, esi
sub ebx, 4
inc ebp
jne 0x4639ae
mov edi, dword [esp]
mov edi, dword [edi + 4]
xor edi, eax
mov eax, dword [esp]
mov eax, dword [eax]
xor eax, esi
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 4]
mov dword [eax + 4], edi
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x463bd0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4647e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
xor ecx, ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
cmp ecx, 4
jge 0x464838
mov eax, dword [ebx + ecx*4]
xor edx, edx
xor edx, edx
xor eax, dword [esp + 8]
xor edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
inc ecx
mov eax, dword [ebx + ecx*4]
xor edx, edx
mov edx, eax
xor eax, eax
xor eax, dword [esp + 8]
xor edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
inc ecx
cmp ecx, 4
jl 0x464801
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0x10
pop ebx
ret
Function at 0x475ecc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x475efa
mov eax, ebx
call fcn.00476980
cmp dword [ebx + 0x40], 0
je 0x475ef3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x475f6b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x475f5d
cmp dword [ebx + 8], 0
je 0x475f1c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x475f2e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x475f5d
cmp dword [ebx + 8], 0
je 0x475f0f
cmp eax, 3
je 0x475f41
dec eax
jne 0x475f0f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x475f0f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x475f0f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x475f89
cmp dword [ebx + 0x14], 0xcc
je 0x475f89
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00475f94
pop ebx
ret

Function at 0x487534
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415dfc]
call fcn.00405290
xor eax, eax
push ebp
push 0x487678
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x496e90], 0
jne 0x487587
mov ecx, dword [0x496ff4]
mov dl, 1
mov eax, dword [0x407c1c]
call fcn.0040cabc
call fcn.00404288
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403240
mov eax, ebx
call fcn.00405160
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x487688
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406234
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405170
test eax, eax
jle 0x48761f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x487618
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b58
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b40
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408a64
test eax, eax
jne 0x487618
mov ebx, 0x15
jmp 0x487624
mov ebx, 0x10
jmp 0x487624
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x496e90]
call fcn.0048748c
mov eax, dword [ebp - 8]
call fcn.0048748c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040624c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48767f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004048f4
lea eax, [ebp - 0x10]
mov edx, dword [0x415dfc]
call fcn.00405360
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x402c00
pop dword [ebp - 0x34]
mov eax, 0x402c00
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xb475bb7
sub dword [ebp - 0x44], 0xbcf5166c
mov dword [ebp - 0x40], 0x734a886c
add dword [ebp - 0x40], 0xbee8c3d9
mov dword [ebp - 0x3c], 0xd3fb841d
add dword [ebp - 0x3c], 0x7850c011
mov dword [ebp - 0x38], 0xd6ea5cb9
sub dword [ebp - 0x38], 0xd6ea5cb9
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xb84f379b
add dword [ebp - 0x44], 0xbc2331bb
mov dword [ebp - 0x40], 0x7869d63e
sub dword [ebp - 0x40], 0x36fd74c9
mov dword [ebp - 0x3c], 0x17bce19c
sub dword [ebp - 0x3c], 0xb44d7530
mov dword [ebp - 0x38], 0xbf3fb79e
sub dword [ebp - 0x38], 0xbf3fb79e
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x39279664
add eax, 0xc718ea70
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x38a26
push 0
call eax
mov ecx, 0x6bc69105
sub ecx, 0x6bc6413d
mov esi, eax
mov edx, 0xb3abe7dd
add edx, 0x4c952823
add edx, dword [ebp - 0x34]
mov ebx, 0x1f4e6a70
sub ebx, 0x357eaf2
add dword [ebp - 0x20], 0xbfd7b8d8
mov edi, dword [edx]
xor dword [ebp - 0x1c], esi
sub edi, ebx
xor dword [ebp - 0x1c], 0x4bf8e7e5
mov dword [esi], edi
xor dword [ebp - 0x20], edx
add esi, 0xe864438c
sub esi, 0xe8644388
add edx, 0x217e9909
add edx, 0xde8166fb
loop 0x402d18
add eax, 0x131f3
mov ebx, eax
add eax, 0xaab41e3a
sub eax, 0xaab41e35
mov ecx, 0x4548505d
add ecx, 0xbaf7afa3
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x10226c4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1025a2d0]
jne 0x10226c58
repz ret
jmp fcn.1022857b

Function at 0x1022986f
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.10226d4c
and dword [ebp - 4], 0
cmp dword [0x1025c238], 0
mov ebx, eax
jne 0x10229920
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x102299d1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x102299d1
push eax
call fcn.10226cda
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1025c238], eax
call esi
push eax
call fcn.10226cda
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1025c23c], eax
call esi
push eax
call fcn.10226cda
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1025c240], eax
call esi
push eax
call fcn.10226cda
pop ecx
mov dword [0x1025c248], eax
test eax, eax
je 0x10229920
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10226cda
pop ecx
mov dword [0x1025c244], eax
mov eax, dword [0x1025c244]
cmp eax, ebx
je 0x10229978
cmp dword [0x1025c248], ebx
je 0x10229978
push eax
call fcn.10226d55
push dword [0x1025c248]
mov esi, eax
call fcn.10226d55
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10229978
test edi, edi
je 0x10229978
call esi
test eax, eax
je 0x1022996f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1022996f
test byte [ebp - 0xc], 1
jne 0x10229978
or dword [ebp + 0x10], 0x200000
jmp 0x102299b1
mov eax, dword [0x1025c23c]
cmp eax, ebx
je 0x102299b1
push eax
call fcn.10226d55
pop ecx
test eax, eax
je 0x102299b1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x102299b1
mov eax, dword [0x1025c240]
cmp eax, ebx
je 0x102299b1
push eax
call fcn.10226d55
pop ecx
test eax, eax
je 0x102299b1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1025c238]
call fcn.10226d55
pop ecx
test eax, eax
je 0x102299d1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x102299d3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1022b62b
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10259d64], 0
mov byte [0x10259d68], 0
mov dword [0x10259d60], 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 ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10259d58], 0x25fd
mov eax, dword [0x10259d60]
add eax, 1
mov dword [0x10259d60], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1022b666
jmp 0x1022b75e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add eax, 0xfffff560
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10259d6c], 0
mov edi, dword [0x10259d64]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10259d6c], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x10259d64], edx
mov esi, dword [ebp - 0x28]
mov dword [0x10259d58], esi
mov bl, byte [ebx + ecx]
mov byte [0x10259d68], bl
mov dword [0x10259d5c], 0x21ee
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10259d68]
mov ecx, dword [0x10259d64]
mov byte [esi + ecx], bl
mov ecx, dword [0x10259d58]
add ecx, 0xfffff153
mov dword [0x10259d58], ecx
mov edx, dword [0x10259d60]
add edx, 1
mov dword [0x10259d60], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
jl 0x1022b69b
jmp 0x1022b77a
xor eax, eax
mov ecx, 0x25fd
mov dword [0x10259d60], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x1022b69b
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1022b782
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10259d58]
add esi, 0xffffeeb0
mov dword [0x10259d58], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1022b7f1
lea eax, [ebp - 0x24]
mov dword [0x10259d5c], 0x19f0
mov dword [ebp - 0x34], eax
call fcn.1022b57c
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1022b204
xor ecx, ecx
mov dword [0x10259d5c], 0x22ca
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x1022b8bf
jmp 0x1022b81d
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1022d368]
mov dh, byte [eax + 0x1022d339]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x1022b7ae
jmp 0x1022b7f1
mov dword [0x10259d58], 0x16e2
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 - 0x40], eax
call fcn.1022bd16
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x10259d5c], 0x190b
mov dword [ecx + 0xd0], 0x4550
mov dword [0x10259d58], 0xfffff83d
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x50], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x1022b8bf
mov dword [0x10259d5c], 0x20b8
mov eax, dword [ebp - 0x40]
add eax, 0x228f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x1022bbe8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x10259d5c], 0x126c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10259d58], 0x12da
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1022bc52
mov eax, dword [ebp - 0x14]
add esp, 0x20
pop ebp
ret
mov dword [0x10259d5c], 0x1430
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1022bce7
jmp 0x1022bd0c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x1022bc7f
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x1022bc52
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1022bd0c
mov dword [0x10259d5c], 0xd8e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1022bd0c
mov dword [0x10259d58], 0xfffff6b2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1022bd0c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1022bd0c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1022bc30
jmp 0x1022bd0c
mov eax, 1
mov dword [0x10259d58], 0xcb8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
je 0x1022bc28
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x1022bc28
Function at 0x1022c10c
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 [ebp - 0x10], eax
call fcn.1022c375
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 0x1022c148
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10259d58], 0xc6c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10259d5c], 0x241c
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 0x1022c276
jmp 0x1022c1e6
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x10259d5c], 0x22be
mov ecx, dword [edx + ecx*4]
mov dword [0x10259d58], 0x4c8
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x1022c276
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x1022c1fa
mov al, byte [ebp - 0x49]
test al, 1
jne 0x1022c18d
jmp 0x1022c24e
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x1022c1c1
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x49], cl
je 0x1022c1dd
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x49]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x48], edx
jne 0x1022c1fa
jmp 0x1022c1dd
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], eax
jb 0x1022c1c1
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1022c4df
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 [0x10259d60], 0
mov dword [0x10259d64], 0
mov dword [0x10259d70], 0
mov ebx, dword [0x10259d58]
add ebx, 0xffffec41
mov dword [0x10259d5c], ebx
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
jne 0x1022c558
mov dword [0x10259d5c], 0x22fd
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x10259d60], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10259d64], edx
mov dword [0x10259d5c], 0x63e
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10259d68], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10259d68]
mov edx, dword [0x10259d64]
mov byte [ebx + edx], cl
mov edx, dword [0x10259d60]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10259d64]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10259d70], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x10259d5c], 0xff5
mov dword [0x10259d58], 0xc9e
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1022c546
mov eax, dword [0x10259d64]
mov ecx, dword [0x10259d60]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1022c558
Function at 0x1022c644
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov edx, dword [0x10259d58]
mov esi, edx
add esi, 0xffffddef
mov dword [0x10259d5c], esi
add edx, 0xfffff1ae
mov dword [0x10259d58], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1022be36
lea ecx, [0x1022b359]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 0x13d200
mov edx, dword [0x10259d44]
mov dword [esp + 0x3c], edx
mov edx, dword [0x10259d48]
mov dword [esp + 0x78], edx
mov dword [0x10259d58], 0x1a6c
mov edx, dword [0x10259d4c]
mov dword [esp + 0x54], edx
mov edx, dword [0x10259d50]
mov dword [esp + 0x50], edx
mov edx, dword [0x10259d54]
mov dword [esp + 0x34], edx
mov edx, dword [0x10259d5c]
add edx, 0xc86
mov dword [0x10259d5c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1022c748
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1022b782
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x10259d5c], 0xd4a
mov dword [esp + 0x10], eax
jmp 0x1022c7a9
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1022c76b
jmp 0x1022c757
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
je 0x1022c732
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1022c748
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov dword [0x10259d5c], 0x8e8
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x30], edx
mov dword [0x10259d58], 0x1277
call fcn.1022bbe8
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x1022c6f9
mov eax, dword [esp + 0x10]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x4268ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x4268bd
pop dword [ebp - 0x48]
mov eax, 0x4268bd
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xd8b3c100
add dword [ebp - 0x58], 0x759e844b
mov dword [ebp - 0x54], 0xc36bfa48
add dword [ebp - 0x54], 0x6ec751fd
mov dword [ebp - 0x50], 0xa0ff8bcf
add dword [ebp - 0x50], 0xab4cb85f
mov dword [ebp - 0x4c], 0xc80901
add dword [ebp - 0x4c], 0xff37f6ff
lea eax, [ebp - 0x58]
push eax
mov eax, 0x179b0246
sub eax, 0x175551e2
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xfe5de3a3
add dword [ebp - 0x58], 0x761485b3
mov dword [ebp - 0x54], 0x7ce42bac
sub dword [ebp - 0x54], 0x3b77ca37
mov dword [ebp - 0x50], 0x88ce8e01
sub dword [ebp - 0x50], 0x255f2195
mov dword [ebp - 0x4c], 0x94a0768d
add dword [ebp - 0x4c], 0x6b5f8973
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x4e42b42a
add eax, 0xb202fc56
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x4f24e
push 0
call eax
mov ecx, 0x4ec1
mov edi, eax
mov ebx, 0x6b87124e
sub ebx, 0x6b3fb24e
add ebx, dword [ebp - 0x48]
mov edx, 0x93e60aae
add dword [ebp - 0x38], 0xfdc86806
mov esi, dword [ebx]
xor dword [ebp - 4], esi
sub esi, edx
sub dword [ebp - 0x18], ecx
mov dword [edi], esi
add dword [ebp - 0x30], ecx
add edi, 0x77bdd6b
sub edi, 0x77bdd67
add ebx, 0x5e325cb2
sub ebx, 0x5e325cae
loop 0x4269ce
add eax, 0x85f1f6b6
add eax, 0x7a0f3721
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xfaef893e
add ecx, 0x55076c2
add ecx, dword [ebp - 0x48]
call ebx
leave
ret