joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c310
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xea21bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42c480
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42c410
cmp cl, 1
je 0x42c3a2
cmp cl, 2
jne 0x42c469
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00431830
nop
nop
lea eax, [0xe6e500]
mov dword [esp], eax
call fcn.0040b200
mov eax, dword [0xe6e4a4]
sub eax, dword [0xe6e488]
nop
mov dword [0xe6e4a4], eax
mov eax, dword [0xe6e494]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xe6e494], ecx
nop
lea eax, [0xe6e500]
mov dword [esp], eax
call fcn.0040b420
jmp 0x42c465
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.00417ce0
nop
nop
lea eax, [0xe6e500]
mov dword [esp], eax
call fcn.0040b200
mov eax, dword [0xe6e47c]
sub eax, dword [0xe6e460]
nop
mov dword [0xe6e47c], eax
mov eax, dword [0xe6e46c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xe6e46c], ecx
nop
lea eax, [0xe6e500]
mov dword [esp], eax
call fcn.0040b420
jmp 0x42c465
cmp cl, 3
jne 0x42c41b
mov byte [eax + 8], 1
jmp 0x42c465
cmp cl, 4
jne 0x42c469
nop
nop
lea eax, [0xe6e500]
mov dword [esp], eax
call fcn.0040b200
mov eax, dword [0xe6e4f4]
sub eax, dword [0xe6e4d8]
nop
mov dword [0xe6e4f4], eax
mov eax, dword [0xe6e4e4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xe6e4e4], ecx
nop
nop
lea eax, [0xe6e500]
mov dword [esp], eax
call fcn.0040b420
add esp, 0x14
ret
lea eax, [0x779d70]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043a060
nop
call fcn.0046ae10
jmp fcn.0042c310
Function at 0x4320a0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0xea21bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x432186
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0xea2730]
mov dword [esp], ecx
call fcn.00402ec0
mov eax, dword [esp + 4]
test eax, eax
je 0x432162
mov dword [esp + 8], 0
mov ecx, dword [0xea21bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
xor eax, eax
call fcn.0046c4a9
lea ecx, [0x432190]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x10]
mov dword [esp], edx
call fcn.0046ad20
mov eax, dword [esp + 8]
cmp eax, 0x20
jge 0x43215e
jae 0x43217b
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 8], 0
add esp, 0x2c
ret
lea eax, [fcn.00447100]
inc eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
add esp, 0x2c
ret
mov ecx, 0x20
call fcn.0046c290
nop
call fcn.0046ae10
jmp fcn.004320a0
Function at 0x4451e0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x2c
call fcn.0045bdb0
mov eax, dword [0xea21bc]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [esp]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0xc], ebx
inc dword [ecx + 0x7c]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6b], 1
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
call fcn.00445180
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.0043ec20
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x445265
cmp dword [eax + 4], ecx
jae 0x445293
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [0x445440]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp], ecx
call fcn.0046ad20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4452e9
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [0x4453f0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call fcn.0046ad20
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00445180
lea eax, [0xe64620]
mov dword [esp], eax
call fcn.00402d90
movzx eax, byte [esp + 4]
test al, al
je 0x445322
lea eax, [0x7a5e24]
mov dword [esp], eax
call fcn.0046ad20
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00445180
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
test byte [ecx], al
mov ecx, dword [ecx + 0x11a0]
test ecx, ecx
je 0x44535e
lea eax, [0x7a5fd8]
mov dword [esp], eax
call fcn.0046ad20
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00445180
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x1f8], edx
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
lea edx, [ecx + 4]
mov dword [ecx + 0x2c], 0
mov ebx, dword [eax + 0x18]
mov dword [ebx + 0x60], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x58], 0
mov dword [esp], edx
mov dword [esp + 4], 2
call fcn.00403020
lea eax, [0xe64614]
mov dword [esp], eax
call fcn.00402d90
movzx eax, byte [esp + 4]
test al, al
je 0x4453d6
lea eax, [0x7a5e20]
mov dword [esp], eax
call fcn.0046ad20
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00445180
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x7c]
add esp, 0x2c
ret
Function at 0x457a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0xea21bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x457b9a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x457b90
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x457a7a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x457a7a
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 0x457a8d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x457b67
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 0x457b5b
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 0x457b52
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x457ae0
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x457b23
mov eax, 1
cmp eax, ecx
ja 0x457b17
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.0046c300
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x457b4d
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 0x457b1c
mov ecx, dword [esp + 0xc]
jmp 0x457ae5
call fcn.0046c2a0
xor eax, eax
mov ecx, eax
call fcn.0046c290
call fcn.0046c300
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x457b8b
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 0x457b60
mov ecx, dword [esp + 0x18]
jmp 0x457a92
call fcn.0046c2a0
xor eax, eax
mov ecx, eax
call fcn.0046c290
nop
call fcn.0046ae10
jmp fcn.00457a20
Function at 0x45cee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0xea21bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45d0cd
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov word [esp + 8], 0x102
call fcn.0045b2d0
mov eax, dword [esp + 0x74]
test byte [eax], al
mov ecx, eax
mov eax, 0xaaaaaaab
mov edx, dword [esp + 0x70]
mov ebx, edx
mul edx
shr edx, 1
lea eax, [edx + edx*2]
sub ebx, eax
lea eax, [ecx + ebx*4 + 0xe0]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], esi
mov dword [esp], eax
call fcn.00402de0
mov eax, dword [esp + 4]
test eax, eax
je 0x45cf6e
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0x45cff6
mov eax, dword [esp + 0x74]
lea ecx, [eax + 0xe0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0045de80
movzx eax, byte [esp + 8]
test al, al
jne 0x45cf9f
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0x45cff6
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x50]
mov edx, dword [eax + 0x54]
movzx ebx, byte [eax + 0x6e]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov byte [esp + 0x1c], 4
mov byte [esp + 0x1d], bl
call fcn.0045db90
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x60], ebx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x70]
mov ecx, eax
and eax, 1
mov edx, dword [esp + 0x74]
lea eax, [edx + eax*8 + 0xec]
mov edi, dword [eax]
mov esi, dword [eax + 4]
add edi, 1
mov dword [esp + 0x3c], edi
mov dword [eax], edi
adc esi, 0
mov dword [eax + 4], esi
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x78]
mov dword [esp], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
call fcn.0045d920
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x48]
mov edx, eax
xor eax, eax
call fcn.0046c4aa
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0x15
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.0045b4f0
add esp, 0x68
ret
call fcn.0046ae10
jmp fcn.0045cee0
Function at 0x460e00
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0xea21bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x460e9b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0xea21bc]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0046c4a7
lea ecx, [0x460eb0]
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 + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0046ad20
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0046ae10
jmp fcn.00460e00
Function at 0x46c0c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0xea2620]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46a84b
je 0x46a89e
cmp ebx, 0x20
jbe 0x46a8a4
cmp ebx, 0x40
jbe 0x46a8ea
jmp 0x46a98b
test ebx, ebx
je 0x46a894
add eax, 0x10
test ax, 0xff0
je 0x46a880
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0xc2b8c0]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0xc2b9c0]
jmp 0x46a868
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x46a868
pxor xmm1, xmmword [0xea2630]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0xea2630]
pxor xmm2, xmmword [0xea2640]
pxor xmm3, xmmword [0xea2650]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0xea2630]
pxor xmm2, xmmword [0xea2640]
pxor xmm3, xmmword [0xea2650]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x46a9ea
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0xea2069], 0
je 0x46c0da
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x46a810
jmp fcn.004098c0
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x3b541ba3
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7b284703
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40524b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
lea eax, [ebp - 0x18]
mov esi, dword [ebp + 8]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4053c0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x5c], 0x38
mov dword [ebp - 0x58], 0x4042f5
mov dword [ebp - 0x54], 0x404398
mov dword [ebp - 0x50], 0x40429e
mov dword [ebp - 0x4c], 0x4042c2
mov dword [ebp - 0x48], 0x405248
and dword [ebp - 0x40], 0
and dword [ebp - 0x44], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x404f99
mov dword [ebp - 0x34], 0x40516d
and dword [ebp - 0x2c], 0
and dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0x405074
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 1
push 4
push 0x40
call fcn.00406000
pop ecx
pop edx
test eax, eax
je 0x405351
mov ecx, dword [ebp - 0x18]
mov dword [eax], 0x38
mov dword [eax + 4], 0x4042f5
mov dword [eax + 8], 0x404398
mov dword [eax + 0xc], 0x40429e
mov dword [eax + 0x10], 0x4042c2
mov dword [eax + 0x14], 0x405248
and dword [eax + 0x20], 0
and dword [eax + 0x1c], 0
and dword [eax + 0x18], 0
mov dword [eax + 0x24], 0x404f99
mov dword [eax + 0x28], 0x40516d
and dword [eax + 0x30], 0
and dword [eax + 0x2c], 0
mov dword [eax + 0x34], 0x405074
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], 1
mov dword fs:[0], ecx
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
and dword [ebp - 0x10], 0
call fcn.00403b4d
push 4
push 0x40
call fcn.0042c860
pop eax
pop ecx
ud2
Function at 0x4058ae
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, esp
mov dword [esi + 0x58], ebp
lea eax, [esi + 0x60]
mov edi, dword [ebp + 0xc]
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x405bc0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x10]
mov ecx, dword [edi]
and dword [eax + 0x38], 0
and dword [eax + 0x30], 0
and dword [eax + 0x34], 0
mov ebx, dword [edi + 8]
mov edx, ecx
mov dword [esi], ecx
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov edi, dword [edi + 0xc]
xor edx, 0x70736575
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edx
mov edx, ecx
xor ecx, 0x6c796765
xor edx, 0x736f6d65
mov dword [eax + 0x14], edx
mov edx, dword [esi]
mov dword [eax + 0x1c], ecx
mov ecx, ebx
xor ebx, 0x79746573
xor ecx, 0x6e646f6d
xor edx, 0x6e657261
mov dword [eax + 0x18], edx
mov dword [eax + 0x20], ecx
mov ecx, edi
xor edi, 0x74656462
mov edx, eax
xor ecx, 0x646f7261
mov dword [eax + 0x24], ecx
lea ecx, [esi + 0x60]
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], edi
and dword [eax + 0x3c], 0
and dword [ecx + 8], 0
mov ecx, dword [ebp + 0x10]
call fcn.004054bb
lea ecx, [esi + 0x10]
call fcn.004056d4
mov edi, dword [ebp + 0xc]
mov ecx, eax
mov ebx, eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ebx
and ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
movdqu xmm0, xmmword [eax + ecx]
mov eax, edx
shld eax, ebx, 7
and al, 0x7f
movzx edx, al
movd xmm1, edx
lea edx, [edi + 0x10]
movdqa xmmword [esi + 0x10], xmm0
punpcklbw xmm1, xmm1
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ecx
and dword [esi + 0x28], 0
mov dword [esi + 4], edx
pshuflw xmm1, xmm1, 0
pshufd xmm1, xmm1, 0
pcmpeqb xmm1, xmm0
pmovmskb ecx, xmm1
mov word [esi + 0x2c], cx
mov byte [esi + 0x2e], al
lea eax, [esi + 0x10]
push eax
call fcn.0040374a
pop ecx
test eax, eax
je 0x405a11
mov edx, dword [ebp + 0x10]
lea ecx, [eax - 0x18]
mov dword [esi], eax
call fcn.004054e9
test al, al
je 0x4059d1
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 8]
movsd xmm0, qword [edx]
lea edx, [eax + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi]
movsd qword [eax + 4], xmm0
mov dword [eax + 0x10], ecx
xor ecx, ecx
jmp 0x405a48
push dword [ebp + 0xc]
push 1
push dword [esi + 4]
call fcn.00403840
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 8]
movsd xmm0, qword [edx]
lea edx, [eax + 0x1c]
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 8]
movsd qword [eax + 0x10], xmm0
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 8], ecx
xor ecx, ecx
inc ecx
mov edi, dword [esi + 4]
mov dword [edx], edi
mov edx, dword [esi + 0x60]
mov dword [eax], ecx
mov dword fs:[0], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x409930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x434
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4124d0
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea eax, [ebp - 0x440]
push 0x400
push 0
push eax
call fcn.0041f3b0
add esp, 0xc
mov eax, dword [0x42db04]
mov ebx, 0x200
xor esi, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0
cmp ebx, 0x201
jae 0x4099b2
jmp 0x4099f0
cmp edi, ebx
mov ebx, edi
jb 0x409a46
cmp ebx, 0x201
jb 0x4099f0
mov ecx, dword [ebp - 0x30]
mov eax, ebx
sub eax, esi
sub ecx, esi
cmp ecx, eax
jae 0x4099e0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
mov edx, esi
push eax
call fcn.0042c200
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x20]
mov esi, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
jmp 0x4099fd
lea edi, [ebp - 0x440]
mov dword [ebp - 0x28], 0x200
mov dword [ebp - 0x24], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x409a20
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x409a84
cmp edi, ebx
jne 0x4099a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4099a0
add ebx, ebx
cmp ebx, 0x201
jb 0x4099f0
jmp 0x4099b2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0
cmp edi, eax
ja 0x409ad3
lea eax, [ebp - 0x40]
push edi
push dword [ebp - 0x24]
push eax
call fcn.0040b240
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x40]
mov dword [esi + 0xc], eax
movsd qword [esi + 4], xmm0
xor eax, eax
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x409aa5
jmp 0x409abd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 4], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x409abd
cmp dword [ebp - 0x20], 0
je 0x409abd
add eax, eax
je 0x409abd
push 2
push eax
push dword [ebp - 0x20]
call fcn.00406010
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x434
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x42ed1c
push eax
push edi
call fcn.0042cac0
add esp, 0xc
ud2