joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4433b0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x2c
call fcn.00458030
mov eax, dword [0x5d55ec]
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.00443350
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.0043cdf0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x443435
cmp dword [eax + 4], ecx
jae 0x443463
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [0x443610]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp], ecx
call fcn.004661b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4434b9
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [0x4435c0]
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.004661b0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00443350
lea eax, [0x597a80]
mov dword [esp], eax
call fcn.00402ba0
movzx eax, byte [esp + 4]
test al, al
je 0x4434f2
lea eax, [0x4e627c]
mov dword [esp], eax
call fcn.004661b0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00443350
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 0x44352e
lea eax, [0x4e641c]
mov dword [esp], eax
call fcn.004661b0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00443350
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.00402e30
lea eax, [0x597a74]
mov dword [esp], eax
call fcn.00402ba0
movzx eax, byte [esp + 4]
test al, al
je 0x4435a6
lea eax, [0x4e6278]
mov dword [esp], eax
call fcn.004661b0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00443350
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x7c]
add esp, 0x2c
ret
Function at 0x454140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4542ba
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x4542b0
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x45419a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45419a
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 0x4541ad
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x454287
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 0x45427b
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 0x454272
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x454200
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x454243
mov eax, 1
cmp eax, ecx
ja 0x454237
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.00467790
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x45426d
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 0x45423c
mov ecx, dword [esp + 0xc]
jmp 0x454205
call fcn.00467730
xor eax, eax
mov ecx, eax
call fcn.00467720
call fcn.00467790
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x4542ab
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 0x454280
mov ecx, dword [esp + 0x18]
jmp 0x4541b2
call fcn.00467730
xor eax, eax
mov ecx, eax
call fcn.00467720
nop
call fcn.004662a0
jmp fcn.00454140
Function at 0x459160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45934d
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.00457550
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.00402bf0
mov eax, dword [esp + 4]
test eax, eax
je 0x4591ee
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0x459276
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.0045a100
movzx eax, byte [esp + 8]
test al, al
jne 0x45921f
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
jmp 0x459276
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.00459e10
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.00459ba0
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.0046785a
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.00457770
add esp, 0x68
ret
call fcn.004662a0
jmp fcn.00459160
Function at 0x45d080
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45d11b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x5d55ec]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00467857
lea ecx, [0x45d130]
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.004661b0
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.004662a0
jmp fcn.0045d080
Function at 0x463e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x463f93
sub esp, 0x24
mov eax, dword [esp + 0x28]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x20], ecx
nop
mov dword [esp], ecx
call fcn.0040abd0
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x463f7c
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call fcn.004337b0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ecx
call fcn.00433e90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
lea edx, [esp + 0x14]
mov dword [esp + 0xc], edx
call fcn.00433e90
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x463ee8
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.00454c90
mov eax, dword [0x5d5690]
test eax, eax
jne 0x463ecf
mov eax, dword [esp + 0x28]
jmp 0x463edd
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
call fcn.004676a0
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x463f1f
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call fcn.00454c90
mov eax, dword [0x5d5690]
test eax, eax
jne 0x463f0a
mov eax, dword [esp + 0x28]
jmp 0x463f18
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x78]
call fcn.004676a0
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0040adf0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x463f45
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00433c90
mov eax, dword [esp + 0x18]
test eax, eax
je 0x463f5d
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00433c90
mov eax, dword [esp + 0x14]
test eax, eax
je 0x463f78
nop
lea ecx, [0x5d5548]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00402d60
add esp, 0x24
ret
lea eax, [0x4e2e66]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.004386b0
nop
call fcn.004662a0
jmp fcn.00463e00
Function at 0x467550
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 [0x5d5800]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x465cdb
je 0x465d2e
cmp ebx, 0x20
jbe 0x465d34
cmp ebx, 0x40
jbe 0x465d7a
jmp 0x465e1b
test ebx, ebx
je 0x465d24
add eax, 0x10
test ax, 0xff0
je 0x465d10
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x501300]
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 + 0x501400]
jmp 0x465cf8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x465cf8
pxor xmm1, xmmword [0x5d5810]
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 [0x5d5810]
pxor xmm2, xmmword [0x5d5820]
pxor xmm3, xmmword [0x5d5830]
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 [0x5d5810]
pxor xmm2, xmmword [0x5d5820]
pxor xmm3, xmmword [0x5d5830]
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 0x465e7a
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 [0x5d54c4], 0
je 0x46756a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x465ca0
jmp fcn.004093a0
Function at 0x467570
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403d9c
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004093a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.004662a0
jmp 0x403d60
cmp byte [0x5d54c4], 0
je 0x46758b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x465ca0
jmp 0x403d60

Function at 0x4683b0
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x4683ca
mov ecx, 0x14
jmp 0x4683d3
shl ecx, 2
add ecx, 0xe10
mov dword [0x5d55ec], ecx
ret
Function at 0x49b340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49b43a
sub esp, 0x20
mov ecx, dword [esp + 0x24]
test byte [ecx], al
mov edx, dword [esp + 0x28]
mov ebx, edx
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x1c], ecx
xor eax, eax
jmp 0x49b380
mov ebp, dword [esp + 0x14]
inc ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, ebp
cmp eax, 4
jge 0x49b3b9
mov dword [esp + 0x14], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call fcn.00401180
mov eax, dword [esp + 0x28]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x2c]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x49b373
mov byte [esp + 0x30], 1
add esp, 0x20
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x49b3c3
inc eax
cmp eax, 4
jge 0x49b3d9
mov dword [esp + 0x18], eax
lea ebp, [ecx + eax*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
xor edi, edi
jmp 0x49b433
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.004011c0
mov byte [esp + 0x30], 0
add esp, 0x20
ret
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
and esi, 0xff
xor edx, esi
mov esi, dword [esp + 0xc]
shr esi, 8
shl ebp, 0x18
mov eax, edx
mov ebx, 0x1b3
mul ebx
inc edi
or esi, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 8
mov ebx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x18]
cmp edi, 8
jl 0x49b3fc
jmp 0x49b3c2
call fcn.004662a0
jmp fcn.0049b340
Function at 0x4018a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x407912
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
push esi
push edi
mov dword [esp + 8], 0
mov edx, dword [esp + 0x824]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x828]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x824]
push 0x400
push ecx
push edx
push eax
push 0x40c08c
mov dword [esp + 0x82c], 3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [esp + 0x81c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 0x820]
mov byte [esp + 0x814], 2
call fcn.004073e2
lea ecx, [esp + 0x824]
mov byte [esp + 0x814], 1
call fcn.004073e2
lea ecx, [esp + 0x828]
mov byte [esp + 0x814], 0
call fcn.004073e2
mov ecx, dword [esp + 0x80c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x810
ret

Function at 0x4019f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x407965
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push str.c:windows_system_sys_syssettings_
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42u.DLL_CString::CString
push 0
push str.c:windows_system_
mov dword [esp + 0x220], 1
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
je 0x401a8b
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x24
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
pop edi
jl 0x401a8b
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 4]
call fcn.00407472
push str._system_sys_syssettings_
lea ecx, [esp + 4]
call sub.MFC42u.DLL_CString::operator_1
push esi
mov esi, dword [esp + 0x224]
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x21c], 0
call fcn.004073e2
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x401ad0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x407995
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push str.c:windows_system_sys_syscon_
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42u.DLL_CString::CString
push 0
push str.c:windows_system_
mov dword [esp + 0x220], 1
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
je 0x401b6b
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x24
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
pop edi
jl 0x401b6b
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 4]
call fcn.00407472
push str._system_sys_syscon_
lea ecx, [esp + 4]
call sub.MFC42u.DLL_CString::operator_1
push esi
mov esi, dword [esp + 0x224]
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x21c], 0
call fcn.004073e2
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret

Function at 0x401bb0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4079cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
push 0x40d668
lea ecx, [esp + 0xc]
mov dword [esp + 0x224], 1
call sub.MFC42u.DLL_CString::CString
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
mov byte [esp + 0x220], 2
push eax
push esi
push esi
push 0x1c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
call fcn.00407472
push str.TempLow_
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::operator_1
mov esi, dword [esp + 0x228]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x220], 1
call fcn.004073e2
lea ecx, [esp + 0x22c]
mov byte [esp + 0x220], 0
call fcn.004073e2
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x4020d0
Capabilities:
Access peb ldr_data
Delete file
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x407a97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x24]
push ebx
push esi
xor esi, esi
push eax
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00401da0
add esp, 8
push 0x40d738
push ecx
lea edx, [esp + 0x34]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov dword [esp + 0x24], ebx
mov word [esp + 0x3a], si
mov word [esp + 0x38], bx
call sub.MFC42u.DLL_CString::CString
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x28], 2
call sub.MFC42u.DLL_CString::CString_3
mov byte [esp + 0x24], bl
call fcn.00401670
mov esi, dword [esp + 0x2c]
add esp, 0xc
mov ecx, esi
push ebx
push ebx
call sub.MFC42u.DLL_CString::CString_4
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.004073e2
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret

Function at 0x402440
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x407b28
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [edi]
add esp, 4
mov ax, word [ecx + eax*2 - 2]
cmp ax, 0x5c
je 0x402481
push 0x40c088
mov ecx, edi
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [edi]
mov ebx, dword [sym.imp.MSVCRT.dll__waccess]
push 0
push eax
call ebx
add esp, 8
test eax, eax
je 0x40250f
xor esi, esi
inc esi
mov ecx, edi
push esi
push 0x5c
call sub.MFC42u.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
je 0x40250f
lea edx, [esp + 0x1c]
push esi
push edx
mov ecx, edi
call sub.MFC42u.DLL_CString::Left
mov eax, dword [esp + 0x1c]
push 0
push eax
call ebx
add esp, 8
test eax, eax
je 0x4024d7
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4024ea
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.004073e2
jmp 0x402497
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.004073e2
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret