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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013502
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x1001a1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
push 0xc50
call fcn.10002246
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x100129ea
mov ecx, dword [ebp - 0x30]
call fcn.10001120
mov dword [ebp - 0x40], eax
jmp 0x100129f1
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
push 0xc50
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.10002160
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0xc50
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.100011e0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xc30], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc34], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0xc2c], eax
push 0x400
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
push ecx
call fcn.10002160
add esp, 0xc
push 0x400
push 0
mov edx, dword [ebp - 0x14]
add edx, 0x424
push edx
call fcn.10002160
add esp, 0xc
push 0x400
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x824
push eax
call fcn.10002160
add esp, 0xc
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc28], eax
cmp dword [ebp + 0x1c], 0
jne 0x10012ad2
push 0x10
push 0
mov edx, dword [ebp - 0x14]
add edx, 0xc40
push edx
call fcn.10002160
add esp, 0xc
jmp 0x10012aea
push 0x10
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xc40
push ecx
call fcn.10002480
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0x10012500
push 0
push 0
call fcn.100023c2
add esp, 0x18
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc24], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xc24], 0
jne 0x10012b53
call fcn.1000283a
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
je 0x10012b45
push 1
mov ecx, dword [ebp - 0x34]
call fcn.10001140
mov dword [ebp - 0x44], eax
jmp 0x10012b4c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x14], 0
jmp 0x10012b78
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013030
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100134e7
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1001a1a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x44], 0
jne 0x1001310b
mov ecx, dword [ebp + 8]
push ecx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x44], 0
jne 0x1001310b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
je 0x1001309b
cmp dword [ebp - 0x14], 2
jne 0x100130c9
push 0x10017bc8
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
call fcn.100011e0
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0xc
call fcn.10001db0
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
call fcn.10001200
jmp 0x100131b9
push 0xa002000a
lea ecx, [ebp - 0x1c]
call fcn.10001a30
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
push 0x100189a4
lea ecx, [ebp - 0x18]
push ecx
call fcn.1000375d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10001100
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10013173
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x24]
call fcn.10001a30
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
push 0x100189a4
lea edx, [ebp - 0x20]
push edx
call fcn.1000375d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10001100
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0xc
call fcn.100011e0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push str..pipe_
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
call fcn.100011e0
mov edx, dword [ebp - 0x28]
add edx, 0xc
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
call fcn.10001dd0
mov ecx, dword [ebp - 0x28]
add ecx, 0x28
call fcn.10001200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x405b72
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x476df2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042772e
add esp, 0x10
leave
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x405b98
Function at 0x421105
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c40c1]
push ebx
push esi
push edi
mov esi, ecx
push 0x8000
push esi
mov edi, edx
mov byte [ebp - 1], al
call fcn.00426843
pop ecx
push eax
call fcn.00426675
pop ecx
pop ecx
push 0xb
mov ecx, edi
mov ebx, eax
call fcn.0040ee67
test al, al
jne 0x475ec0
lea ecx, [ebp - 0x18]
call fcn.00409d85
mov ecx, edi
call fcn.0040991b
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.0042128b
push dword [ebp - 0x18]
push 0x4b1dec
push esi
call fcn.00426a3c
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 8], eax
jne 0x475ee0
lea ecx, [ebp - 0x18]
call fcn.00409de3
mov edi, dword [ebp - 8]
push esi
call fcn.00426c01
pop ecx
cmp ebx, 0xffffffff
je 0x475ef7
push ebx
push esi
call fcn.00426843
pop ecx
push eax
call fcn.00426675
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
push esi
mov ecx, edi
call fcn.0044e3b2
push eax
push 1
call fcn.0044e36f
push eax
call fcn.004269be
add esp, 0x10
mov edi, eax
jmp 0x421185
mov ecx, edi
call fcn.0040991b
mov eax, dword [edi + 8]
push dword [eax]
call dword [0x49022c]
jmp 0x42117a
push 0x4000
jmp 0x421196
Function at 0x445f48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov ecx, dword [ebx]
push edi
mov edi, dword [ebp + 8]
lea eax, [ecx + 4]
mov esi, dword [ecx + edi]
mov dword [ebx], eax
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
mov dword [ebp + 8], esi
neg ecx
or ecx, eax
push ecx
call fcn.004233fa
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
push esi
push ecx
mov edi, eax
push edi
call fcn.00422d90
mov ecx, dword [ebp + 8]
add dword [ebx], esi
xor eax, eax
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x445fa3
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x445f9a
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44ac1f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, ecx
xor esi, esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [0x4c62f9], 0
test edi, edi
je 0x44ac71
mov byte [0x4c62fa], 1
call dword [0x490174]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
push eax
xor ecx, ecx
push ecx
lea eax, [ebp - 0xc]
push eax
push 0x44b083
push ecx
push ecx
mov dword [ebp - 8], edi
call fcn.0042608f
mov esi, eax
mov eax, dword [ebp - 4]
add esp, 0x18
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push eax
call dword [0x4906e0]
mov edi, eax
test esi, esi
je 0x44ac9c
push 0xffffffffffffffff
push esi
mov byte [0x4c62fa], 0
call dword [0x49024c]
push esi
call dword [0x49030c]
cmp byte [0x4c62f9], 1
jne 0x44acaa
or eax, 0xffffffff
jmp 0x44acac
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44e3fc
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4c2b60]
jne 0x44e409
call fcn.0044e4e0
mov eax, dword [0x4c6310]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c6310], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x44e441
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4c2b60]
jne 0x44e453
call fcn.0044e4e0
mov eax, dword [0x4c6310]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c6310], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x44e496
fadd qword [0x4b9a10]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4b99e0]
leave
ret

Function at 0x44e4a4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x4c6318], ecx
mov edx, esi
mov ecx, 0x4c6318
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
add ecx, 4
imul eax, eax, 0x6c078965
add eax, edx
mov dword [ecx], eax
inc edx
cmp ecx, 0x4c6cd4
jl 0x44e4b5
mov dword [0x4c2b60], esi
mov dword [0x4c6304], esi
pop esi
ret
Function at 0x44e4e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4c6304], 0
push ebx
push esi
push edi
mov esi, 0x4c6318
jne 0x44e500
push 0
call fcn.0042735a
pop ecx
mov ecx, eax
call fcn.0044e4a4
mov dword [0x4c2b60], 0x270
mov dword [0x4c6310], esi
mov edi, 0xe3
mov ebx, 0x9908b0df
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and ecx, ebx
and eax, 0x7ffffffe
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x44e51a
mov edi, 0x18c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and ecx, ebx
and eax, 0x7ffffffe
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0x44e54b
mov ecx, dword [0x4c6318]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
sbb edx, edx
xor eax, ecx
and eax, 0x7ffffffe
xor eax, dword [esi]
and edx, ebx
shr eax, 1
xor eax, dword [esi - 0x38c]
pop edi
xor eax, edx
mov dword [esi], eax
pop esi
pop ebx
ret

Function at 0x44e9fc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x44ea21
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00422d90
add esp, 0xc
jmp 0x44ea34
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.0042772e
add esp, 0x10
movzx ecx, byte [ebp - 4]
movzx eax, byte [ebp - 3]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
push 0x4b68b8
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
mov byte [ebp - 4], 0
call fcn.004277e0
pop ecx
neg eax
pop ecx
sbb eax, eax
neg eax
pop esi
leave
ret 4

Function at 0x44eb08
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10000
mov eax, dword [esi + 0x460]
test eax, eax
je 0x44eb1e
cmp eax, ecx
jne 0x44eb39
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x458]
call fcn.0042772e
add esp, 0x10
and dword [esi + 0x460], 0
mov ecx, dword [esi + 0x460]
mov eax, dword [esi + 0x458]
mov al, byte [ecx + eax]
inc ecx
mov dword [esi + 0x460], ecx
pop esi
ret

Function at 0x44eb51
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x45c]
mov esi, dword [edi + 0x454]
mov byte [esi + edx], al
inc dword [edi + 0x45c]
mov eax, 0x10000
cmp dword [edi + 0x45c], eax
jne 0x44eb98
push dword [edi + 0x20]
push eax
push 1
push dword [edi + 0x454]
call fcn.004269be
add esp, 0x10
and dword [edi + 0x45c], 0
pop edi
pop esi
pop ebp
ret 4
Function at 0x44eb9e
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x45c]
test eax, eax
je 0x44ebc6
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x454]
call fcn.004269be
add esp, 0x10
and dword [esi + 0x45c], 0
pop esi
ret

Function at 0x44ed6e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
lea ecx, [ebp - 0xdc]
push esi
push edi
call fcn.0044ebc8
push dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call fcn.0044ec0c
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x44edb2
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.0044ed42
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x44ed9c
pop edi
pop esi
leave
ret 0xc
Function at 0x457a63
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0x30], 0
je 0x457a72
pop ebp
jmp fcn.00457b31
pop ebp
jmp fcn.00457a78

Function at 0x457e3a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0xd0], 0
je 0x457e77
cmp byte [ebp + 8], 0
je 0x457e77
sub esp, 0x10
lea ecx, [esi + 0xd4]
call fcn.00456e9d
push esi
push 0
push 0x457f08
call fcn.00427ddd
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
jmp 0x457e7f
push dword [ebp + 8]
call fcn.0045706f
pop esi
pop ebp
ret 4
Function at 0xc94870
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0xc9488a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc94891
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc94880
mov eax, 1
add ebx, ebx
jne 0xc948a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc94898
jne 0xc948b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc94898
xor ecx, ecx
sub eax, 3
jb 0xc948c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc9493a
mov ebp, eax
add ebx, ebx
jne 0xc948d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xc948e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xc94904
inc ecx
add ebx, ebx
jne 0xc948f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc948e5
jne 0xc94901
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc948e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc94924
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc94915
jmp 0xc94886
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc94924
add edi, ecx
jmp 0xc94886
pop esi
mov edi, esi
mov ecx, 0x528
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xc94942
cmp byte [edi], 1
jne 0xc94942
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 0xc94947
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0xc949b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x140ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x141c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc94974
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x141cc]
or eax, eax
je 0xc949b0
mov dword [ebx], eax
add ebx, 4
jmp 0xc94991
call dword [esi + 0x141dc]
mov ebp, dword [esi + 0x141d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xc949ea
sub esp, 0xffffff80
jmp 0xc888f4
Function at 0x401390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x416553
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x419860
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.004157b2
mov dword [ebx], 0x41984c
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.004157b2
or eax, 0xffffffff
push 0x41f2f0
mov dword [ebx], 0x419810
push edi
mov dword [esi], 0x419824
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [0x419158]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4035a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41676b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4198f8
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x403630
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x4035f7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [0x419064]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x403621
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.004158ea
jmp 0x403636
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.004158ea
jmp 0x403636
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x419890
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.00415836
mov ecx, esi
mov dword [edi], 0x41987c
mov dword [esp + 0x1c], 0xffffffff
call fcn.004158d2
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40b240
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4170c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.004157a0
lea ecx, [esi + 0x14]
mov dword [esp + 0x2c], 0
call fcn.004157a0
lea ecx, [esi + 0x18]
mov byte [esp + 0x2c], 1
call fcn.004157a0
lea ecx, [esi + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.004157a0
lea ecx, [esi + 0x20]
mov byte [esp + 0x2c], 3
call fcn.004157a0
mov ebp, dword [0x419790]
push 0x11
mov byte [esp + 0x30], 4
call ebp
push 0x10
mov dword [esi + 4], eax
call ebp
mov ecx, dword [esp + 0x34]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
push eax
push ecx
mov ecx, esi
call fcn.0040b6f0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40b3d5
mov edi, dword [edi]
push 0
push edi
lea ecx, [esp + 0x18]
call fcn.00415bcc
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 5
call fcn.004157a0
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x30], 6
mov dword [esi + 0xc], 0
call fcn.00415bc6
test eax, eax
je 0x40b32a
mov edi, dword [esi + 0xc]
lea eax, [esp + 0x38]
inc edi
push eax
lea ecx, [esp + 0x14]
mov dword [esi + 0xc], edi
call fcn.00415bc6
test eax, eax
jne 0x40b311
mov edi, dword [esi + 0xc]
lea ecx, [edi*4 + 4]
push ecx
call fcn.004157dc
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x2c], 7
je 0x40b364
push fcn.00415788
push fcn.004157a0
lea ebp, [eax + 4]
push edi
push 4
push ebp
mov dword [eax], edi
call fcn.00415e88
jmp 0x40b366
xor ebp, ebp
mov edx, dword [esp + 0x10]
xor edi, edi
push edi
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 6
mov dword [esi + 8], ebp
call dword [edx + 0x30]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
call fcn.00415bc6
test eax, eax
je 0x40b3b7
cmp edi, dword [esi + 0xc]
jge 0x40b3b7
mov edx, dword [esi + 8]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [edx + edi*4]
call fcn.0041584e
lea eax, [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
inc edi
call fcn.00415bc6
test eax, eax
jne 0x40b38f
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 5
call fcn.00415788
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.00415bc0
jmp 0x40b3dc
mov dword [esi + 8], 0
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x414990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x24
xor eax, eax
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [0x419624]
push edi
lea ebp, [esi + 0x196]
xor edi, edi
mov ecx, ebp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov word [ecx + 8], ax
call ebx
and eax, 0x800000ff
jns 0x4149c4
dec eax
or eax, 0xffffff00
inc eax
test al, al
mov byte [esp + edi + 0x10], al
jne 0x4149cf
inc byte [ebp]
inc edi
cmp edi, 0xa
jl 0x4149b4
mov bx, word [esp + 0x18]
movsx edx, byte [esp + 0x10]
movsx ecx, bh
imul ecx, edx
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
and ecx, 0x800000ff
mov byte [esi + 0x197], al
jns 0x414a09
dec ecx
or ecx, 0xffffff00
inc ecx
movsx eax, byte [esp + 0x11]
mov byte [esi + 0x198], cl
mov ecx, 7
cdq
idiv ecx
movsx eax, byte [esp + 0x15]
mov ecx, 0xa
mov byte [esi + 0x199], dl
cdq
idiv ecx
movsx ecx, byte [esp + 0x17]
mov byte [esi + 0x19a], dl
movsx edx, byte [esp + 0x14]
imul ecx, edx
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
and ecx, 0x800000ff
mov byte [esi + 0x19b], al
jns 0x414a66
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esi + 0x19c], cl
xor eax, eax
cmp byte [eax + ebp], 0
jne 0x414a7a
inc byte [esi + 0x19d]
inc eax
cmp eax, 7
jl 0x414a6e
mov al, byte [esp + 0x16]
mov cl, byte [esp + 0x13]
xor al, cl
lea edx, [esi + 0x18c]
mov cl, bl
mov byte [esi + 0x19e], al
mov eax, dword [edx]
or cl, bh
mov byte [esi + 0x19f], cl
mov dword [esp + 0x1c], eax
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dx, word [edx + 8]
mov dword [esp + 0x2c], ecx
mov word [esp + 0x24], dx
lea edx, [esp + 0x1c]
push edx
push 0x16
push 0
push 7
lea ecx, [esi + 0x94]
mov word [esp + 0x36], 0
mov dword [esp + 0x38], eax
mov word [esp + 0x40], bx
call fcn.00409b50
mov eax, dword [esi + 0x20]
push 0
push 0x4e20
push 0x70
push eax
call dword [0x419754]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret

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