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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003916c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10048100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], 0
call fcn.10012f60
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x10015256
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.100198f0
add esp, 8
push 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push ecx
call fcn.1000f610
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.10010d60
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
test eax, eax
je 0x10015210
cmp eax, 0xffffffff
je 0x10015210
push eax
call dword [0x1003a638]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10001670
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10015293
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x10
movups xmmword [ecx], xmm0
push str.already_injected
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10002dc0
call fcn.10012db0
add esp, 0x18
mov ecx, dword [ebp + 0x20]
cmp ecx, 7
jbe 0x10015330
mov edx, dword [ebp + 0xc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10015326
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001534a
jmp 0x10015326
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], esi
push eax
lea ecx, [ebp - 0x28]
call fcn.100050c0
push 0x1c
mov byte [ebp - 4], 3
call fcn.1001cf80
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x100152d0
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov dword [esi], ecx
lea ecx, [esi + 4]
push eax
call fcn.100050c0
jmp 0x100152d2
xor esi, esi
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
push 0
push esi
push 0x100100b0
push 0
push 0
call fcn.10026dc7
add esp, 0x18
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10015356
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x1001534f
push ecx
push eax
call fcn.1001cb97
add esp, 8
test eax, eax
jne 0x1001534f
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
movlpd qword [ebp - 0x34], xmm0
call fcn.10010e10
jmp 0x10015256
push ecx
push edx
call fcn.1001cfb0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d2d8
mov esp, ebp
pop ebp
ret
call fcn.10021fdf
push 1
call fcn.1001bfa9
push 6
mov dword [ebp - 0x30], 0
call fcn.1001bfa9
int3
Function at 0x10015370
Capabilities:
Create thread
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100391c6
mov eax, dword fs:[0]
push eax
mov eax, 0x1444
call fcn.1001d2f0
mov eax, dword [0x10048100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1004a398
mov dword [ebp - 0xa40], 0x1004a398
mov byte [ebp - 0xa3c], 0
call fcn.1001b9bb
add esp, 4
test eax, eax
jne 0x10015523
cmp dword [0x1004a3c4], 0x7fffffff
je 0x1001552a
mov byte [ebp - 0xa3c], 1
mov dword [ebp - 0xa38], 0x1004a378
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 9]
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x1004a378
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xa30]
push eax
call fcn.1000fe00
mov eax, dword [eax + 4]
test eax, eax
je 0x100154fb
cmp eax, dword [0x1004a37c]
je 0x100154fb
lea eax, [ebp + 8]
mov ecx, 0x1004a378
push eax
call fcn.100180d0
mov dword [ebp - 0x1450], 0
lea esi, [ebp + 0xc]
mov ecx, 0x282
mov dword [ebp - 0xa28], eax
lea edi, [ebp - 0x1448]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x284
lea esi, [ebp - 0x1450]
lea edi, [ebp - 0xa20]
rep movsd dword es:[edi], dword [esi]
push 0xa18
call fcn.1001cf80
add esp, 4
test eax, eax
je 0x100154ae
mov ecx, 0x286
lea esi, [ebp - 0xa28]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x100154b0
xor eax, eax
mov dword [ebp - 0xa34], eax
lea ecx, [ebp - 0xa2c]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x1000ffd0
push 0
push 0
call fcn.10026dc7
add esp, 0x18
mov dword [ebp - 0xa30], eax
test eax, eax
je 0x10015542
mov ecx, dword [ebp - 0xa2c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1001553b
push ecx
push eax
call fcn.1001cb97
add esp, 8
test eax, eax
jne 0x1001553b
push 0x1004a398
call fcn.1001b9cc
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d2d8
mov esp, ebp
pop ebp
ret
push 5
call fcn.1001bfa9
push 6
mov dword [0x1004a3c4], 0x7ffffffe
call fcn.1001bfa9
push 1
call fcn.1001bfa9
push 6
mov dword [ebp - 0xa2c], 0
call fcn.1001bfa9
int3
Function at 0x10016710
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039510
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x10048100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x1003b0f0
push str.kernel32.dll
push ebx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], 0
call fcn.10013d10
push edx
push eax
push ebx
call fcn.10014010
mov ecx, dword [0x1004a200]
mov dword [ebp - 0x458], eax
or eax, edx
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xffffffff
mov dword [ebp - 0x448], ecx
jne 0x1001685c
test ebx, ebx
mov eax, ebx
cmove eax, dword [0x1004a1fc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x10016822
push 0x424
lea eax, [ebp - 0x434]
mov dword [ebp - 0x438], 0x428
push 0
push eax
call fcn.1001ef20
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1001681b
lea eax, [ebp - 0x418]
push str.kernel32.dll
push eax
call fcn.10026b2e
add esp, 8
test eax, eax
je 0x1001687f
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x100167f2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movlpd qword [ebp - 0x440], xmm0
mov eax, dword [ebp - 0x440]
mov edx, dword [ebp - 0x43c]
push 0x1003b0f0
push edx
push eax
push ebx
call fcn.100144a0
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x448], 0
cmp dword [edi + 0x14], 7
mov dword [ebp - 4], 0
jbe 0x1001686b
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x460]
call fcn.1000f720
or eax, edx
je 0x1001688f
mov bl, 1
jmp 0x10016891
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x41c]
cdq
jmp 0x10016839
xor bl, bl
mov esi, dword [ebp - 0x45c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100168d7
mov edx, dword [esi + 8]
mov eax, edx
mov ecx, dword [esi + 0xc]
or eax, ecx
mov dword [ebp - 4], 1
je 0x100168cc
cmp dword [esi], 0
je 0x100168cc
push 0x4000
push dword [esi + 0x10]
push ecx
push edx
push dword [esi + 4]
call fcn.10016a90
push 0x18
push esi
call fcn.1001cfb0
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d2d8
mov esp, ebp
pop ebp
ret
Function at 0x10019d20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039775
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10048100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x10019efa
nop dword [eax]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.10019cb0
cmp dword [ebp - 0x1c], 0
jne 0x10019eeb
cmp dword [ebx + 8], 0x15555555
je 0x10019f0e
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.1001cf80
mov cx, word [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov word [esi + 8], cx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 0x14], eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1003b2f0]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1003b2f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10019e92
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.10026e60
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1001d790
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jae 0x10019e6b
cmp eax, 0x200
jae 0x10019e69
shl eax, 3
cmp eax, ecx
jae 0x10019e6b
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1001b2f0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10019cb0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x10019e95
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
jne 0x10019ecd
mov dword [ecx + eax*8], esi
jmp 0x10019ee0
cmp dword [ecx + eax*8], edx
jne 0x10019ed7
mov dword [ecx + eax*8], esi
jmp 0x10019ee4
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10019ee4
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
add edi, 2
mov dword [ebp + 8], edi
cmp edi, dword [ebp + 0xc]
jne 0x10019d60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1001b935
int3
Function at 0x1002d0a2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003f6c4
push 0x1003f6bc
push str.FlsAlloc
push 0x1e
call fcn.1002cf2a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002d0d6
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003a1cc]
call esi
jmp 0x1002d0dc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002d120
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003f6d4
push 0x1003f6cc
push str.FlsGetValue
push 0x20
call fcn.1002cf2a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002d157
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003a1cc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10037920
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003794d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003794d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x434
cmp dword [0x5e8438], 0x400
push ebx
push esi
push edi
jne 0x403da4
push 0
push 0
lea eax, [esp + 0x48]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push 0
call fcn.004041d9
add esp, 4
push 0
push 0
call fcn.0040465f
push 0
push 0
call fcn.00404199
push 0
push 0
call fcn.00404496
push 0
call fcn.0040487f
add esp, 0x1c
push 0
push 0
push 0
call fcn.00404796
fldz
push ecx
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404030
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00404070
fstp st(0)
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00404370
fstp st(0)
push 0
call fcn.004048f3
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor esi, esi
lea esp, [esp]
push 0
push 0
push 0
push 0
call edi
cmp esi, 0x4f4d1f2
jg 0x403dcb
inc esi
cmp esi, 0x33b4f19
jl 0x403db0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
call edi
call ebx
cmp esi, 0x12e8236
jg 0x403df5
inc esi
cmp esi, 0x2ff8b
jl 0x403de0
mov ecx, dword [0x444c5c]
mov dword [0x5e8438], ecx
call fcn.004039f0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
cmp dword [0x5e8438], 0x51f
jne 0x403e26
lea edx, [esp + 0x40]
push edx
push 0
call esi
dec edi
jne 0x403e11
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x406ab1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4417c4]
jne 0x406abb
repz ret
jmp fcn.0040b29c
Function at 0x40c50c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4417c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004054bf
and dword [ebp - 0x14], 0
cmp dword [0x4596ec], 0
mov dword [ebp - 0x18], eax
jne 0x40c5bf
push 0x40343c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c667
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403430
push ebx
call edi
test eax, eax
je 0x40c667
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403420
push ebx
mov dword [0x4596ec], eax
call edi
push eax
call esi
push 0x40340c
push ebx
mov dword [0x4596f0], eax
call edi
push eax
call esi
push 0x4033f0
push ebx
mov dword [0x4596f4], eax
call edi
push eax
call esi
mov dword [0x4596fc], eax
test eax, eax
je 0x40c5bf
push 0x4033d8
push ebx
call edi
push eax
call esi
mov dword [0x4596f8], eax
mov eax, dword [0x4596f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c618
cmp dword [0x4596fc], ecx
je 0x40c618
push eax
call esi
push dword [0x4596fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c618
test ebx, ebx
je 0x40c618
call edi
test eax, eax
je 0x40c60f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c60f
test byte [ebp - 8], 1
jne 0x40c618
or dword [ebp + 0x10], 0x200000
jmp 0x40c64b
mov eax, dword [0x4596f0]
cmp eax, dword [ebp - 0x18]
je 0x40c64b
push eax
call esi
test eax, eax
je 0x40c64b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c64b
mov eax, dword [0x4596f4]
cmp eax, dword [ebp - 0x18]
je 0x40c64b
push eax
call esi
test eax, eax
je 0x40c64b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4596ec]
call esi
test eax, eax
je 0x40c667
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c669
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406ab1
leave
ret
Function at 0x42ce60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
jmp 0x42ce7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42ce81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42ce70
mov eax, 1
add ebx, ebx
jne 0x42ce93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42ce88
jne 0x42cea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ce88
xor ecx, ecx
sub eax, 3
jb 0x42ceb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42cf2a
mov ebp, eax
add ebx, ebx
jne 0x42cec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42ced0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42cef4
inc ecx
add ebx, ebx
jne 0x42cee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42ced5
jne 0x42cef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ced5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42cf14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42cf05
jmp 0x42ce76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42cf14
add edi, ecx
jmp 0x42ce76
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42cf32
cmp byte [edi], 9
jne 0x42cf32
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 0x42cf37
lea edi, [esi + 0x2a000]
mov eax, dword [edi]
or eax, eax
je 0x42cfaf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3afbc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b09c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42cf64
mov ecx, edi
jns 0x42cf93
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3b0a4]
or eax, eax
je 0x42cfa9
mov dword [ebx], eax
add ebx, 4
jmp 0x42cf81
call dword [esi + 0x3b0a0]
mov ebp, dword [esi + 0x3b0a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42cfe3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x401000
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x47dbf4]
add edi, 0xfffff1b8
mov dword [0x47dbf4], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x40109f
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov esi, ecx
add esi, 1
mov dword [ebp - 0x28], eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov ebx, dword [ebp - 0x18]
mov bl, byte [ebx + ecx]
movzx edi, bl
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x28]
add edi, ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x2c]
idiv edi
mov ecx, dword [ebp - 0x18]
mov bh, byte [ecx + edx]
mov edi, dword [ebp - 0x30]
mov byte [ecx + edi], bh
mov byte [ecx + edx], bl
cmp esi, 0x100
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edx
jne 0x401034
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, eax
mov bl, dl
mov edx, eax
add edx, 1
mov esi, dword [ebp - 0x18]
mov byte [esi + eax], bl
cmp edx, 0x100
mov eax, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
je 0x401034
jmp 0x40109f
Function at 0x401a80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [0x47dbf8]
cmp eax, 0
sete bl
add edi, 0xffffd6de
mov dword [0x47dbf8], edi
mov dword [0x47dbf4], 0x1f5e
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
xor eax, eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jne 0x401ae1
jmp 0x401ae9
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
mov dword [0x47dbf4], 0x1f5e
mov edi, edx
add edi, 1
add eax, 1
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x47dbf8], 0xe3a
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x47dbf4], 0xfffff63c
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov ebx, dword [0x47dbf8]
add ebx, 0xffffe802
mov dword [0x47dbf4], ebx
mov ebx, dword [ebp - 0x1c]
mov ch, byte [ebx + edx]
mov byte [ebx + esi], ch
mov byte [ebx + edx], cl
mov esi, dword [0x47dbf8]
add esi, 0xffffe802
mov dword [0x47dbf4], esi
mov esi, dword [ebp - 0x34]
movzx esi, byte [ebx + esi]
movzx ebx, byte [ebx + edx]
add ebx, esi
and ebx, 0xff
mov esi, dword [0x47dbf8]
add esi, 0xffffe802
mov dword [0x47dbf4], esi
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov cl, byte [esi + ecx]
mov esi, dword [ebp - 0x1c]
xor cl, byte [esi + ebx]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov byte [ebx + esi], cl
mov ecx, dword [0x47dbf8]
add ecx, 0xffffe802
mov dword [0x47dbf4], ecx
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edx
je 0x401ae1
jmp 0x401ae9

Function at 0x408040
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.00408040]
mov dword [0x47dbf8], 0x1ec1
mov dword [ebp - 4], eax
jmp 0x40807e
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
jmp 0x40807e
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x40808d
jmp 0x40805b
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
je 0x40806d
jmp 0x40805b
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret