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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x401c66
pop dword [ebp - 0x4c]
mov eax, 0xc4bdd101
sub eax, 0xc47db49b
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xbdd10c13
add dword [ebp - 0x5c], 0x90813938
mov dword [ebp - 0x58], 0x89e96183
sub dword [ebp - 0x58], 0x57b6153e
mov dword [ebp - 0x54], 0x5661b6af
sub dword [ebp - 0x54], 0xa157281
mov dword [ebp - 0x50], 0x54f0112b
sub dword [ebp - 0x50], 0x54f0112b
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xc699dc43
sub dword [ebp - 0x5c], 0x522772ed
mov dword [ebp - 0x58], 0xf05c84b2
sub dword [ebp - 0x58], 0xaef0233d
mov dword [ebp - 0x54], 0xd8b2f8ab
sub dword [ebp - 0x54], 0x75438c3f
mov dword [ebp - 0x50], 0x25065525
add dword [ebp - 0x50], 0xdaf9aadb
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x32d36
push 0
call eax
mov ecx, 0x6ec97bf1
add ecx, 0x9136bd70
mov edi, eax
mov esi, 0x957c72c1
sub esi, 0x953c02c1
add esi, dword [ebp - 0x4c]
mov ebx, 0x3fbdf884
add dword [ebp - 0x44], 0x2900929
mov edx, dword [esi]
sub dword [ebp - 0x18], 0xe194e27
xor edx, ebx
add dword [ebp - 0x40], edx
mov dword [edi], edx
sub dword [ebp - 4], 0x769677b7
add edi, 4
add esi, 4
loop 0x401d78
add eax, 0x9c39205a
sub eax, 0x9c384803
xor ebx, ebx
add ebx, eax
add eax, 0xa3d135a8
add eax, 0x5c2eca5d
mov ecx, 0xfed7370b
sub ecx, 0xfe97370b
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x67877bc9
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xadf358f
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x430a342d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x430a343c
pop dword [ebp - 0x48]
mov eax, 0x945f83bc
add eax, 0xaeaab080
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x373ad
push 0
mov eax, 0x9b2c67aa
add eax, 0xa7dda8f6
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x468e
xor edi, edi
add edi, eax
mov edx, 0x8fd59bd2
add edx, 0xb335422e
add edx, dword [ebp - 0x48]
mov esi, 0xc38b94b6
mov dword [ebp - 0x28], 0xbd461777
mov ebx, dword [edx]
sub dword [ebp - 0xc], 0xd4b8cab1
xor ebx, esi
mov dword [ebp - 4], 0xc598f5ef
mov dword [edi], ebx
add dword [ebp - 0x28], eax
add edi, 0xe368945d
add edi, 0x1c976ba7
add edx, 0xaa8bcd42
sub edx, 0xaa8bcd3e
loop 0x430a3491
add eax, 0x5ee4584
add eax, 0xfa12c787
xor ebx, ebx
add ebx, eax
add eax, 0xe1f0201f
sub eax, 0xe1f0201a
mov ecx, 0xae7093e3
sub ecx, 0x6b6693e3
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x430a67ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430aa9f0]
jne 0x430a67c4
repz ret
jmp fcn.430a7df9

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10025b94
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10025ba3
pop dword [ebp - 0x2c]
mov eax, 0x2e60f93c
add eax, 0xe1a16267
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x42145
push 0
mov eax, 0x3f4486a2
add eax, 0xd0c27a4a
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x263c807c
sub ecx, 0x263c3894
xor esi, esi
add esi, eax
mov edx, 0x10185c00
add edx, dword [ebp - 0x2c]
mov edi, 0x832e1ff6
sub edi, 0x8846adfe
xor dword [ebp - 0xc], eax
mov ebx, dword [edx]
xor dword [ebp - 0x28], 0x9c298425
sub ebx, edi
xor dword [ebp - 0x20], 0x648bffed
mov dword [esi], ebx
xor dword [ebp - 0x28], edx
add esi, 0x5f47865
add esi, 0xfa0b879f
add edx, 0x13700737
add edx, 0xec8ff8cd
loop 0x10025bfe
add eax, 0x11273
mov ebx, eax
add eax, 5
mov ecx, 0xa96d1799
sub ecx, 0x996d1799
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x100696fd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x10069780
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1006974a
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1006974a
cmp edi, ebx
jge 0x1006974a
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1006977a
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1006977a
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x10069792
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x10069a28
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100b1980]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x1016c088], al
je 0x10069a5f
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10069ac3
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10025b94
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10025b94
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.10025b94
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006e864
leave
ret 0x10
Function at 0x10069ad4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100b1980]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1016c088], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x10069b00
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x10069b31
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x10069b2f
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10025b94
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x10069b31
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1006e864
leave
ret 8

Function at 0x10069bcc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100b1980]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1016c088], 0
mov eax, dword [ebp + 8]
je 0x10069bf4
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10069c0e
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10025b94
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1006e864
leave
ret 4

Function at 0x1006e864
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100b1980]
jne 0x1006e86e
repz ret
jmp fcn.1006ef63
Function at 0x10118fdc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1015b580]
jne 0x10118fe6
repz ret
jmp fcn.1011928d
Function at 0x10119dbe
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x1015b558]
add edx, 0xffffd94f
mov dword [0x1015b554], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
jmp 0x10119e37
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10119ec9
jmp 0x10119ef9
mov dword [0x1015b558], 0x7a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10119e98
jmp 0x10119ef9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, ecx
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2], 0
mov edi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edi
je 0x10119e7b
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, dword [ebp - 0x2c]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x30], eax
jl 0x10119e37
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [0x1015b554], ecx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x10119e19
jmp 0x10119ef9
mov eax, dword [ebp - 0x28]
add eax, 0xffffe7d7
mov dword [0x1015b554], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10119ef9
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10119e01
jmp 0x10119ef9
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10119ef9
mov eax, 1
mov dword [0x1015b554], 0xb63
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x34], eax
je 0x10119f00
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x10119f00
mov eax, dword [ebp - 0x34]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x10119f1f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1011a807
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x1015b554]
add edi, 0x20f3
mov dword [0x1015b554], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1015b558], 0x1487
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10119fd0
jmp 0x10119fdb
mov eax, dword [ebp - 0x28]
mov ecx, eax
mov edx, dword [ebp - 0x2c]
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 - 0x30], eax
mov byte [ebp - 0x31], bh
mov byte [ebp - 0x32], cl
je 0x1011a038
jmp 0x1011a00c
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1015b554], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edx
jmp 0x10119f7c
mov eax, dword [ebp - 0x30]
add eax, 1
mov cl, byte [ebp - 0x31]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x32]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x28], eax
jne 0x10119f7c
mov al, byte [ebp - 0x32]
test al, 1
jne 0x10119fab
jmp 0x1011a045
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x38]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
jb 0x10119fed
jmp 0x10119fd0
Function at 0x1011a47e
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 [0x1015b560], 0
mov byte [0x1015b564], 0
mov edi, dword [0x1015b554]
add edi, 0xe84
mov dword [0x1015b558], edi
mov dword [0x1015b55c], 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 dword [0x1015b558], 0x8b8
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1015b55c]
add eax, 1
mov dword [0x1015b55c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1011a4cb
xor eax, eax
mov dword [0x1015b55c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1015b568], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x1015b560]
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 [0x1015b568], esi
mov dword [0x1015b554], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x1015b560], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1015b564], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x1015b564]
mov esi, dword [0x1015b560]
mov byte [ebx + esi], cl
mov esi, dword [0x1015b55c]
add esi, 1
mov dword [0x1015b55c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1011a50a
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1011a5c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1011b155]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x1015b554], 0x1540
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1011a1c5
mov dword [0x1015b554], 0x1b9e
call fcn.1011a06e
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101196f9
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1011a6ce
mov eax, dword [ebp - 0x3c]
mov dword [0x1015b554], 0x505
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 [0x1015b554], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.10119854
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1015b554], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x34], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x4c], ecx
mov dword [0x1015b558], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
jne 0x1011a6d8
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x44]
add eax, 0x1366
mov ecx, dword [0x1015b554]
add ecx, 0x2182
mov dword [0x1015b554], ecx
mov dword [ebp - 0x40], eax
jmp 0x1011a6ce
Function at 0x1011a9b0
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 [0x1015b55c], 0
mov dword [0x1015b560], 0
mov dword [0x1015b56c], 0
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 0x1011ab09
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, eax
add edi, 1
mov dword [0x1015b554], 0x581
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1015b55c], edx
mov dword [0x1015b558], 0x20ec
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1015b560], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1015b564], cl
mov dword [0x1015b558], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1015b564]
mov edx, dword [0x1015b560]
mov byte [ebx + edx], cl
mov edx, dword [0x1015b55c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1015b560]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1015b56c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov byte [0x1015b570], cl
mov dword [0x1015b554], 0x13d7
mov dword [0x1015b558], 0x1ac9
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x1011ab09
mov eax, dword [0x1015b560]
mov ecx, dword [0x1015b55c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x1011aa09
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1011ab11
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x1015b554], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10119a88
lea ecx, [0x10119d47]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0x142600
mov edx, dword [0x1015b540]
mov dword [esp + 0x60], edx
mov edx, dword [0x1015b544]
mov dword [esp + 0x48], edx
mov edx, dword [0x1015b548]
mov dword [esp + 0x50], edx
mov edx, dword [0x1015b54c]
mov dword [esp + 0x54], edx
mov edx, dword [0x1015b550]
mov dword [esp + 0x58], edx
mov dword [0x1015b558], 0x1d3f
mov dword [0x1015b554], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1011abb7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1011abda
jmp 0x1011abc6
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x1011aba1
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1011abb7
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov dword [0x1015b554], 0x4417
mov dword [0x1015b558], 0x94b
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x38], edx
call fcn.10119dbe
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1011ac3e
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1011a5c0
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x860520
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x722015
lea edi, [esi - 0x321015]
mov dword [edi + 0x41d150], 0x48f82234
push edi
or ebp, 0xffffffff
jmp 0x86054a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x860551
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x860540
mov eax, 1
add ebx, ebx
jne 0x860563
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x860574
jne 0x860593
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x860593
dec eax
add ebx, ebx
jne 0x860580
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x860558
add ebx, ebx
jne 0x86058f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8605e5
xor ecx, ecx
sub eax, 3
jb 0x8605ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x86061a
sar eax, 1
mov ebp, eax
jmp 0x8605b6
add ebx, ebx
jne 0x8605b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x860584
inc ecx
add ebx, ebx
jne 0x8605c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x860584
add ebx, ebx
jne 0x8605d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8605c6
jne 0x8605e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8605c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x860604
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8605f6
jmp 0x860546
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x860604
add edi, ecx
jmp 0x860546
pop esi
mov edi, esi
mov ecx, 0x110fa
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x860622
cmp byte [edi], 0x2f
jne 0x860622
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x860627
lea edi, [esi + 0x45d000]
mov eax, dword [edi]
or eax, eax
je 0x860696
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4990d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4991c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x860654
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4991c8]
or eax, eax
je 0x860690
mov dword [ebx], eax
add ebx, 4
jmp 0x860671
call dword [esi + 0x4991d8]
mov ebp, dword [esi + 0x4991cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x4606f1]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8606e2
sub esp, 0xffffff80
jmp 0x4014a0