joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dc5b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612a76
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b4], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005e2ec0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.004d8b00
add esp, 8
mov dword [ebp - 0x2b8], eax
mov edx, dword [ebp - 0x2b8]
push edx
mov ecx, 0x6cf428
call fcn.0048bd20
lea ecx, [ebp - 0x248]
call fcn.0048bcd0
call fcn.004d7a40
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0
je 0x4dc66c
mov dword [ebp - 0x2b0], str._64bit
jmp 0x4dc676
mov dword [ebp - 0x2b0], str._32bit
lea eax, [ebp - 0x278]
push eax
call fcn.004d61f0
add esp, 4
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2b0]
push edx
mov eax, dword [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.004ca1d0
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0x2c8]
push edx
mov ecx, 0x6cf410
call fcn.0048bd20
lea ecx, [ebp - 0x260]
call fcn.0048bcd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.0048bcd0
lea eax, [ebp - 0x230]
push eax
call fcn.004d65c0
add esp, 4
mov dword [ebp - 4], 1
push 0
push 0x6a0d58
lea ecx, [ebp - 0x230]
call fcn.0048b6e0
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0xffffffff
jne 0x4dc749
push 0x6a0d40
mov ecx, 0x6cf3e0
call fcn.004a8ec0
push str.Unknown
mov ecx, 0x6cf3c8
call fcn.004a8ec0
jmp 0x4dc7cb
mov ecx, dword [ebp - 0x2ac]
push ecx
push 0
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x230]
call fcn.0048b660
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
push eax
mov ecx, 0x6cf3c8
call fcn.0048bd20
lea ecx, [ebp - 0x290]
call fcn.0048bcd0
mov ecx, dword [0x6a56b8]
push ecx
mov edx, dword [ebp - 0x2ac]
add edx, 1
push edx
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.0048b660
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
push ecx
mov ecx, 0x6cf3e0
call fcn.0048bd20
lea ecx, [ebp - 0x2a8]
call fcn.0048bcd0
call sym.Setup.exe_CreateExportObj
mov dword [0x6cf15c], eax
cmp dword [0x6cf128], 0
jne 0x4dc7f4
push str.UserLogMutex
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [0x6cf128], eax
push 0
push 0
mov edx, dword [ebp - 0x2b4]
push edx
push 0x4dccb0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0048bcd0
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x51ec90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x434
call fcn.005ca540
mov eax, dword [0x6c6f60]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0xc], ebx
test edi, edi
jne 0x51ecd5
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
push edi
call fcn.005f5b94
add esp, 8
test eax, eax
js 0x51ecbe
mov eax, 8
call fcn.005ca540
xorps xmm0, xmm0
lea eax, [esp + 0x1c]
movsd qword [esp], xmm0
push 0x24
push eax
call fcn.0051e9d0
mov esi, dword [ebp + 0xc]
add esp, 0x10
test esi, esi
je 0x51ecbe
push 0x6a6700
push edi
call fcn.005ec2cc
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x51eda0
mov edi, 0x400
test esi, esi
jle 0x51ed33
cmp esi, edi
cmovl edi, esi
push eax
push edi
lea eax, [esp + 0x40]
push 1
push eax
call fcn.005f6105
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x51ed81
movd xmm0, ebx
mov eax, 8
cvtdq2pd xmm0, xmm0
call fcn.005ca540
lea eax, [esp + 0x40]
movsd qword [esp], xmm0
push edi
push eax
call fcn.0051e9d0
add dword [esp + 0x1c], ebx
add esp, 0x10
mov eax, dword [esp + 0x10]
test esi, esi
jle 0x51ed25
sub esi, edi
test esi, esi
jg 0x51ed25
push dword [esp + 0x10]
call fcn.005e7e28
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.00438a20
mov ebx, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x43c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x5c8cd0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x194]
push eax
push 0x101
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x6a56f9
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x5c8d53
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
cmp byte [edx], 0
jne 0x5c8d23
xor ecx, ecx
jmp 0x5c8d3a
mov ecx, edx
push ebx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5c8d30
sub ecx, ebx
pop ebx
push ecx
push edx
mov ecx, esi
call fcn.00491030
cmp edi, esi
je 0x5c8d53
push 0xffffffffffffffff
push 0
push esi
mov ecx, edi
call fcn.004910b0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.005c950e
mov esp, ebp
pop ebp
ret 4
Function at 0x401207
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4182d8]
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [0x4182dc]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], eax
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], edx
call fcn.00401200
mov ebx, dword [ebp - 0x18]
add ebx, 0x23f
cmp dword [0xb5cb44], 0x14
jne 0x401265
push 0
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4182e0]
mov eax, dword [0x4182e4]
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, esi
mov dword [ebp - 0xc], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xb5cb44], 0xfa9
mov dword [ebp - 8], eax
mov eax, dword [0xb5cb40]
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp dword [0xb5cb44], 0x3eb
mov dword [0xb5cb40], eax
mov eax, dword [0xb5ca98]
cmove eax, dword [ebp - 0xc]
mov dword [0xb5ca98], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
and dword [ebp - 0x10], 0
mov dword [0xb5cb3c], 0xf4ea3dee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 4]
sub edx, eax
mov dword [ebp - 0x14], eax
mov eax, edx
mov dword [ebp - 0xc], edx
shl eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + edx]
and dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 0x10], eax
cmp dword [0xb5cb44], 0xb03
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jne 0x401363
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
add ebx, 0x61c88647
mov ecx, dword [ebp - 0x24]
sub esi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
dec edi
jne 0x401279
mov edi, dword [ebp - 0x2c]
mov dword [edi], esi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002414
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
push ebx
push esi
xor ebx, ebx
push 0x19a
mov dword [resource.7], ebx
mov dword [resource.5], ebx
mov dword [resource.3], ebx
call fcn.010023cd
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
je 0x100244c
push eax
push dword [0x1005b30]
call esi
mov dword [resource.3], eax
push 0x1a4
call fcn.010023cd
cmp eax, ebx
je 0x1002468
push eax
push dword [0x1005b30]
call esi
mov dword [resource.5], eax
push 0x1ae
call fcn.010023cd
cmp eax, ebx
je 0x1002484
push eax
push dword [0x1005b30]
call esi
mov dword [resource.7], eax
mov eax, dword [resource.3]
cmp eax, ebx
je 0x1002602
cmp dword [resource.5], ebx
je 0x1002602
cmp dword [resource.7], ebx
je 0x1002602
mov esi, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call esi
push dword [0x1005a08]
mov dword [resource.3], eax
call esi
push dword [0x1005954]
mov dword [resource.5], eax
call esi
cmp dword [0x10056c8], ebx
mov dword [resource.7], eax
jne 0x10024e3
push 7
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x10024f1
push 0x808080
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
mov ecx, dword [0x10056c8]
neg ecx
sbb ecx, ecx
push 0x10
and ecx, 0x38
push 0x10
mov dword [0x1005158], eax
add ecx, 0x30
call fcn.010023f1
mov edx, 0x10059c0
mov esi, ecx
mov dword [edx], esi
add edx, 4
add esi, eax
cmp edx, 0x1005a00
jl 0x1002516
push 0x17
push 0xd
call fcn.010023f1
mov edx, 0x1005a60
mov esi, ecx
mov dword [edx], esi
add edx, 4
add esi, eax
cmp edx, 0x1005a90
jl 0x1002535
push 0x18
push 0x18
call fcn.010023f1
mov edx, 0x1005960
mov dword [edx], ecx
add edx, 4
add ecx, eax
cmp edx, 0x1005974
jl 0x1002552
push ebp
push edi
push dword [0x1005b24]
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
xor esi, esi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, ebx
mov dword [esi + 0x1005a20], eax
jne 0x100258f
push 0x1001220
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10
push 0x10
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, ebx
lea edi, [esi + 0x1005980]
mov dword [edi], eax
jne 0x10025b1
push 0x1001204
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [edi]
push dword [esi + 0x1005a20]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [resource.3]
mov ecx, dword [esi + 0x10059c0]
push ebx
push eax
add ecx, eax
push ecx
push 0x10
push ebx
push ebx
push ebx
push 0x10
push 0x10
push ebx
push ebx
push dword [esi + 0x1005a20]
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
add esi, 4
cmp esi, 0x40
jl 0x1002573
push ebp
push dword [0x1005b24]
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
pop edi
inc eax
pop ebp
jmp 0x1002604
xor eax, eax
pop esi
pop ebx
ret
Function at 0x10040fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x10013b0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1004153
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x10013ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1004146
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1004155
xor eax, eax
pop esi
leave
ret 4

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

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432fd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x100062cf
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 [0x10058c9c], 0
mov dword [0x10058ca0], 0
mov dword [0x10058ca4], 0
mov dword [0x10058c94], 0x1a14
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 0x1000640f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10058c9c], edx
mov dword [0x10058c94], 0xfbe
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10058ca0], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov edi, dword [ebp - 0x20]
mov ch, byte [edi + edx]
mov byte [edi + esi], ch
mov dword [0x10058c94], 0x1d46
mov edx, dword [0x10058ca0]
mov byte [edi + edx], cl
mov edx, dword [0x10058c9c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10058ca0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10058ca4], ebx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov cl, byte [edx + esi]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx + esi], cl
mov edx, dword [0x10058c98]
add edx, 0x374
mov dword [0x10058c98], edx
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x38], esi
je 0x1000640f
mov eax, dword [0x10058ca0]
mov ecx, dword [0x10058c9c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x10006332
mov dword [0x10058c98], 0x20c0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10006506
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10058c98]
add eax, 0xffffe02f
mov ecx, dword [0x10058c94]
add ecx, 0xffffdbc5
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
lea eax, [fcn.10006506]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
jmp 0x1000654f
mov eax, dword [ebp - 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x10006539
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
sete dl
mov byte [ebp - 0x19], dl
mov al, byte [ebp - 0x19]
test al, 1
jne 0x1000657e
jmp 0x10006539
mov eax, dword [ebp - 0x18]
mov dword [0x10058c98], eax
mov eax, dword [ebp - 0x14]
add esp, 0x1c
pop ebp
ret
Function at 0x100069d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x10058c98], 0x9dd
mov dword [ebp - 0x10], eax
call fcn.10006c92
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 0x10006a19
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10058c98], 0x5a7
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 0x10006b40
jmp 0x10006a8e
mov al, byte [ebp - 0x31]
test al, 1
jne 0x10006b1d
jmp 0x10006af7
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x31]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10006ac5
jmp 0x10006a54
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + ecx + 0x24]
mov dword [ebp - 0x44], edx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x44]
add ecx, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x58]
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 - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x31], cl
je 0x10006a54
jmp 0x10006a64
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], eax
jb 0x10006aab
jmp 0x10006b40
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10058c94], 0x1fbc
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006b56
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 [0x10058ca0], 0
mov dword [0x10058c94], 0x21
mov dword [0x10058c9c], 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 [0x10058c98], 0x10da
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10058c9c]
add eax, 1
mov dword [0x10058c9c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10006b94
xor eax, eax
mov dword [0x10058c9c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x10058ca0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
idiv ecx
mov dword [0x10058ca0], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov esi, dword [ebp - 0x18]
mov ch, byte [esi + edx]
mov byte [esi + edi], ch
mov edx, dword [0x10058ca0]
mov byte [esi + edx], cl
mov dword [0x10058c94], 0x2cc
mov edx, dword [0x10058c9c]
add edx, 1
mov dword [0x10058c9c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10006bd3
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1000726c
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 [0x10058c98], 0x1981
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x100083f0]
mov dl, byte [eax + 0x100083c1]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x1000728e
lea eax, [ebp - 0x24]
mov dword [0x10058c94], 0x1811
mov dword [ebp - 0x34], eax
call fcn.10007008
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100070f0
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x1000738e
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 [0x10058c94], 0x886
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10006e38
xor eax, eax
mov dword [0x10058c98], 0x263c
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x2c], ecx
mov dword [0x10058c94], 0xf39
add ecx, 0x2659
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10007385
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100073c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10058c94], 0xf5e
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10007516
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
imul esi, eax, 0xc0
mov edi, edx
add edi, esi
add edi, 0xbc
mov esi, dword [edi]
imul edi, eax, 0xc0
mov ebx, edx
add ebx, edi
add ebx, 0x2c
mov edi, dword [ebx]
imul ebx, eax, 0xc0
add edx, ebx
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], edx
call fcn.10006627
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
add eax, ecx
mov edx, dword [ebp - 0x148]
add edx, 1
cmp edx, 0x6a6
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
je 0x100075b0
jmp 0x100073f9
lea eax, [ebp - 0x12c]
mov dword [0x10058c94], 0xfffeb770
mov dword [ebp - 0x154], eax
call fcn.10007008
mov dword [esp], eax
mov eax, dword [ebp - 0x154]
mov dword [esp + 4], eax
call fcn.100070f0
mov ecx, eax
mov dword [0x10058ca8], eax
mov eax, esp
mov edx, dword [ebp - 0x158]
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 edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], ecx
jmp 0x100073f9
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, eax, 0xc0
mov ebx, esi
add ebx, edi
add ebx, 0xbc
mov edi, dword [ebx]
imul ebx, eax, 0xc0
add esi, ebx
add esi, 0x50
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x6a6
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x15c], edx
jne 0x10007516
mov eax, dword [ebp - 0x15c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100083f0]
mov dh, byte [eax + 0x100083c1]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x15c], ecx
je 0x100074a3
jmp 0x10007577
lea eax, [0x100083cf]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10058c94], 0x14c0
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10006b56
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x158]
mov dword [esp + 0xc], edx
call fcn.100062cf
xor eax, eax
mov ecx, dword [0x10058c98]
add ecx, 0x571
mov dword [0x10058c98], ecx
mov ecx, dword [ebp - 0x144]
add ecx, 0x11ec12
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x133600
mov dword [0x10058c94], 0x733
mov ecx, dword [ebp - 0x144]
add ecx, 0x11261f
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1ff0
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret