joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e630
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x104
mov ebx, edx
mov edi, ecx
push ebx
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
and esi, 0x7ff8ffa9
add esi, 0x80070057
test eax, eax
je 0x1000e68b
push str.MicrosoftWindowsStart_MenuPrograms_
push 0x104
push ebx
call fcn.1001d912
add esp, 0xc
neg eax
sbb esi, esi
and esi, 0x80070057
test esi, esi
js 0x1000e719
mov ecx, dword [edi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 4
jb 0x1000e72c
cmp dword [edi + 0x14], 7
jbe 0x1000e6ae
mov edi, dword [edi]
push 4
push ecx
push ecx
push edi
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.10014880
cmp dword [ebp - 0xc], 7
lea eax, [ebp - 0x20]
cmova eax, dword [ebp - 0x20]
push eax
push 0x104
push ebx
call fcn.1001d912
mov ecx, dword [ebp - 0xc]
add esp, 0xc
neg eax
sbb esi, esi
and esi, 0x80070057
cmp ecx, 7
jbe 0x1000e719
mov edx, dword [ebp - 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000e70f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e731
push ecx
push edx
call fcn.10015db0
add esp, 8
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10015c53
mov esp, ebp
pop ebp
ret
call fcn.10002500
call fcn.10019a6f
int3
Function at 0x10013810
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030237
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
movups xmmword [edi + 0x30], xmm0
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov byte [edi + 0x48], al
movups xmmword [edi + 0x4c], xmm0
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 7
mov word [edi + 0x4c], ax
movups xmmword [edi + 0x64], xmm0
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], 7
mov word [edi + 0x64], ax
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 5
push str.Default
call fcn.1000dd30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
push 0x1003727c
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 5
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
call fcn.1000dd30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
push 2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.100147f0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov esi, dword [ebp - 0x2c]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov edi, 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.10013d00
add esi, 0x18
mov dword [ebp - 0x1c], esi
sub edi, 1
jne 0x10013988
push ecx
mov edx, esi
mov ecx, esi
call fcn.1000df60
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x28], esi
cmp edi, eax
je 0x100139e5
mov ecx, edi
call fcn.1000de60
mov eax, dword [ebp - 0x2c]
mov dword [edi], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 8], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
call fcn.1000de60
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x10013a23
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10013a19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013a45
push ecx
push edx
call fcn.10015db0
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10015c53
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10019a6f
int3
Function at 0x100239f1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10023a30
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10023a30
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10023a30
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10023a30
cmp dword [ecx + 0x74], 0xe
jbe 0x10023a30
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10027bc9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10027c66
push ebx
push esi
call fcn.10027b92
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10027b26
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10027c13
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10027c65
push edi
push eax
call fcn.10024e97
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10027c33
call fcn.10024e5d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10027c64
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10027b26
add esp, 0x20
test eax, eax
jne 0x10027c52
push edi
call fcn.10024e5d
jmp 0x10027c5a
push ebx
call fcn.10024e5d
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10027ed3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10034298
push 0x10034290
push str.FlsAlloc
push 0x1f
call fcn.10027def
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10027f07
push dword [ebp + 8]
mov ecx, esi
call dword [0x10031228]
call esi
jmp 0x10027f0d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10027f51
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100342a8
push 0x100342a0
push str.FlsGetValue
push 0x21
call fcn.10027def
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10027f88
push dword [ebp + 8]
mov ecx, esi
call dword [0x10031228]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10027f90
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100342b0
push 0x100342a8
push str.FlsSetValue
push 0x22
call fcn.10027def
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10027fca
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10031228]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1002efa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002efcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002efcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40fee0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0xce31cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4100ab
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40ff09
mov eax, 0x7000000
jmp 0x40ff11
test eax, eax
je 0x410086
mov dword [esp + 0x14], eax
mov ecx, dword [0xce31cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x94], ebx
mov dword [ecx + 0x98], ebp
mov dword [esp], edx
call fcn.0046d2b0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x28]
shr ebx, 0x1b
or ebx, eax
lea eax, [0xc825e0]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x41009e
cmp edx, 0x21
jae 0x410092
movsd qword [esp + 0x18], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], ebp
mov dword [esp], ecx
call fcn.00464020
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.004640f0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x9db7a0]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x9db7f0]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x410061
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x9db830]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.0046d390
mov eax, edx
mov ecx, 0x21
call fcn.0046d470
nop
call fcn.0046bf00
jmp fcn.0040fee0
Function at 0x41aa30
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0xce31cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41ac3e
sub esp, 0x18
mov eax, dword [0xce3080]
test eax, eax
jne 0x41ac27
nop
nop
lea eax, [0xce3070]
mov dword [esp], eax
call fcn.0040dbd0
mov eax, dword [0xce3074]
test eax, eax
je 0x41aa78
cmp dword [eax + 8], 0xcc
jne 0x41aaee
mov edx, dword [0xce3078]
test edx, edx
jne 0x41aad0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xcea650]
mov dword [esp + 8], eax
call fcn.004100c0
mov eax, dword [esp + 0xc]
mov dword [0xce3078], eax
mov ecx, dword [0xce307c]
mov dword [eax], ecx
mov eax, dword [0xce3078]
mov dword [0xce307c], eax
movzx eax, byte [0xce3940]
test al, al
jne 0x41aad0
xor eax, eax
jmp 0x41abf8
mov edx, dword [0xce3078]
mov ebx, dword [edx + 4]
mov dword [0xce3078], ebx
mov ebx, dword [0xce3074]
mov dword [edx + 4], ebx
mov dword [0xce3074], edx
mov edx, dword [0xce3074]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x41abd7
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00406690
mov eax, dword [0xce3530]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x41ab38
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jmp 0x41ab4e
call fcn.0046d310
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov eax, dword [0xce3530]
test eax, eax
jne 0x41ab72
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x41aba0
call fcn.0046d350
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov ebx, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x14], esi
mov dword [edx + ecx*4 + 0x1c], eax
mov dword [edx + ecx*4 + 0x20], ebx
mov dword [edx + ecx*4 + 0x14], ebp
nop
nop
lea eax, [0xce3070]
mov dword [esp], eax
call fcn.0040ddd0
nop
lea eax, [0xce306c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00406810
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046d390
lea edx, [0xc7cc4c]
movzx ebx, byte [edx + eax]
lea ebp, [0xce3940]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x41aad0
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x41abe1
mov ecx, 5
call fcn.0046d380
lea eax, [0x93b7cf]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043cbd0
nop
call fcn.0046bf00
jmp fcn.0041aa30
Function at 0x428970
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xce31cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428a67
sub esp, 0x1c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x428a61
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00428dc0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00428ea0
movzx eax, byte [esp + 0x18]
test al, 2
je 0x428a15
cmp word [esp + 0x10], 0x1f0
jbe 0x428a15
and eax, 0xfffffffd
nop
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x20]
movzx ebx, byte [edx + 0x30]
test bl, bl
jne 0x428a19
nop
jmp 0x428a19
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x428a5c
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
mov dword [esp], eax
mov word [esp + 4], cx
mov word [esp + 6], dx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
call fcn.00428e30
add esp, 0x1c
ret
call fcn.0046d390
call fcn.0046d390
nop
call fcn.0046bf00
jmp fcn.00428970
Function at 0x428a80
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xce31cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428bb4
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x428bae
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00428dc0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x14], ax
mov word [esp + 0x16], cx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00428f90
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jae 0x428ba7
mov ecx, dword [eax]
lea ecx, [ecx + edx*8]
movzx ebx, word [esp + 0x14]
movzx ebp, word [esp + 0x16]
mov esi, dword [esp + 0x18]
movzx edi, byte [esp + 0x1c]
mov dword [esp], ecx
mov word [esp + 4], bx
mov word [esp + 6], bp
mov dword [esp + 8], esi
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
call fcn.00428e30
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax - 1]
shl eax, 0xd
mov ecx, dword [esp + 0x28]
shl ecx, 0x16
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x28], eax
jae 0x428b6a
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0x20]
mov dword [esp], eax
call fcn.00435380
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
jae 0x428ba3
mov ecx, dword [esp + 0x24]
add ecx, 0x20
nop
mov dword [esp], ecx
xor ecx, ecx
sub ecx, eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.004065d0
add esp, 0x20
ret
mov eax, edx
call fcn.0046d390
call fcn.0046d390
nop
call fcn.0046bf00
jmp fcn.00428a80
Function at 0x42ec80
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xce31cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42edf0
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42ed80
cmp cl, 1
je 0x42ed12
cmp cl, 2
jne 0x42edd9
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004342c0
nop
nop
lea eax, [0xcc7660]
mov dword [esp], eax
call fcn.0040dbd0
mov eax, dword [0xcc7604]
sub eax, dword [0xcc75e8]
nop
mov dword [0xcc7604], eax
mov eax, dword [0xcc75f4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xcc75f4], ecx
nop
lea eax, [0xcc7660]
mov dword [esp], eax
call fcn.0040ddd0
jmp 0x42edd5
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0041aa30
nop
nop
lea eax, [0xcc7660]
mov dword [esp], eax
call fcn.0040dbd0
mov eax, dword [0xcc75dc]
sub eax, dword [0xcc75c0]
nop
mov dword [0xcc75dc], eax
mov eax, dword [0xcc75cc]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xcc75cc], ecx
nop
lea eax, [0xcc7660]
mov dword [esp], eax
call fcn.0040ddd0
jmp 0x42edd5
cmp cl, 3
jne 0x42ed8b
mov byte [eax + 8], 1
jmp 0x42edd5
cmp cl, 4
jne 0x42edd9
nop
nop
lea eax, [0xcc7660]
mov dword [esp], eax
call fcn.0040dbd0
mov eax, dword [0xcc7654]
sub eax, dword [0xcc7638]
nop
mov dword [0xcc7654], eax
mov eax, dword [0xcc7644]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xcc7644], ecx
nop
nop
lea eax, [0xcc7660]
mov dword [esp], eax
call fcn.0040ddd0
add esp, 0x14
ret
lea eax, [0x935648]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043cbd0
nop
call fcn.0046bf00
jmp fcn.0042ec80
Function at 0x4593d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0xce31cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45954a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x459540
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x45942a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45942a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x45943d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x459517
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x45950b
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x459502
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x459490
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x4594d3
mov eax, 1
cmp eax, ecx
ja 0x4594c7
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0046d3f0
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x4594fd
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x4594cc
mov ecx, dword [esp + 0xc]
jmp 0x459495
call fcn.0046d390
xor eax, eax
mov ecx, eax
call fcn.0046d380
call fcn.0046d3f0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x45953b
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x459510
mov ecx, dword [esp + 0x18]
jmp 0x459442
call fcn.0046d390
xor eax, eax
mov ecx, eax
call fcn.0046d380
nop
call fcn.0046bf00
jmp fcn.004593d0

Function at 0x460ce0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0xce31cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x460d7b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0xce31cc]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0046d5c7
lea ecx, [0x460d90]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0046be10
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0046bf00
jmp fcn.00460ce0