joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437060
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x4370b0
push esi
push 0x4e4308
push 0x4b47a4
call fcn.0043f030
mov esi, eax
test esi, esi
je 0x4370af
cmp byte [esp + 0x10], 0
je 0x43708e
push edi
push edi
call dword [0x4b14e8]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437093
push esi
sub eax, edx
push eax
push 1
push edi
call fcn.0045fd82
push esi
call fcn.0045fba6
add esp, 0x14
pop esi
pop edi
ret 8

Function at 0x43a8a0
Capabilities:
Write file on windows

Disassembly:
cmp byte [0x4e4308], 0
jne 0x43a8ee
push edi
mov edi, dword [0x4f6348]
test edi, edi
je 0x43a8ed
push esi
push 0x4e4308
push 0x4b47a4
call fcn.0043f030
mov esi, eax
test esi, esi
je 0x43a8ec
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a8d0
push esi
sub eax, edx
push eax
push 1
push edi
call fcn.0045fd82
push esi
call fcn.0045fba6
add esp, 0x14
pop esi
pop edi
ret

Function at 0x43b520
Capabilities:
Write file on windows

Disassembly:
push 1
call fcn.0043b480
jmp fcn.0043a8a0
Function at 0x4501f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x4e81f4]
push esi
xor esi, esi
cmp dword [eax + 0x30], esi
je 0x4503d4
push esi
push 1
push esi
push 0x4e75f4
mov ecx, 0x4e0c60
call 0x3d4490
cmp eax, 1
jne 0x4503d4
cmp dword [0x4e4708], 3
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
push eax
jne 0x45025d
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, 0x4e0c60
call 0x3d3ab0
jmp 0x450271
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4e0c60
call 0x3d39c0
cmp dword [esp + 4], esi
je 0x4503d4
mov ecx, dword [0x4e81f4]
push esi
push 0x400
push esi
lea edx, [esp + 0x28]
push edx
call fcn.004259d0
lea eax, [esp + 0x1c]
push eax
call dword [0x4b13d8]
cmp eax, 0xffffffff
je 0x4502e0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
call 0x3ca2e0
mov al, byte [esp + 0x10]
cmp al, 0x43
je 0x4502bd
cmp al, 0x4e
jne 0x4502e0
mov eax, dword [esp + 8]
push eax
call fcn.0045efc5
add esp, 4
pop esi
mov ecx, dword [esp + 0x418]
add byte [eax], al
push edi
lea ecx, [esp + 0x20]
push 0x4b1ba8
push ecx
call fcn.0045fec8
mov edi, eax
add esp, 8
cmp edi, esi
jne 0x450337
lea edx, [esp + 0x20]
push edx
push 0x1f6
call fcn.0041be10
push eax
push 0x4e75f4
call fcn.0044d240
mov eax, dword [esp + 0x18]
push eax
call fcn.0045efc5
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.0045e626
add esp, 0x41c
ret
mov eax, dword [0x4e4708]
cmp eax, 3
jne 0x45038b
push edi
push 0xff
call fcn.0046251d
push edi
push 0xfe
call fcn.0046251d
add esp, 0x10
cmp dword [esp + 8], esi
jbe 0x4503b6
mov ecx, dword [esp + 0x10]
movzx edx, word [ecx + esi*2]
push edi
push edx
call fcn.0046251d
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + esi*2 + 1]
push edi
push ecx
call fcn.0046251d
inc esi
add esp, 0x10
cmp esi, dword [esp + 8]
jb 0x450360
jmp 0x4503b6
cmp eax, 2
jne 0x4503a1
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push edx
push eax
push eax
call dword [0x4b1438]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edi
push eax
push 1
push ecx
call fcn.0045fd82
add esp, 0x10
push edi
call fcn.0045fba6
mov edx, dword [esp + 0x10]
push edx
call fcn.0045efc5
mov eax, dword [esp + 0x18]
push eax
call fcn.0045efc5
add esp, 0xc
pop edi
mov ecx, dword [esp + 0x41c]
pop esi
xor ecx, esp
call fcn.0045e626
add esp, 0x41c
ret

Function at 0x4502d0
Capabilities:
Write file on windows

Disassembly:
add byte [eax], al
xor ecx, esp
call fcn.0045e626
add esp, 0x41c
ret
Function at 0x459750
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
push edi
mov edi, eax
mov eax, 0x12345678
mov edx, 0x23456789
mov esi, 0x34567890
mov dword [0x500808], eax
mov dword [0x50080c], edx
mov dword [0x500810], esi
mov cl, byte [edi]
test cl, cl
je 0x4597d0
lea ebx, [ebx]
movsx ecx, cl
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4c6a48]
inc edi
movzx ecx, al
add ecx, edx
imul ecx, ecx, 0x8088405
inc ecx
mov edx, ecx
shr ecx, 0x18
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x4c6a48]
mov dword [0x500808], eax
mov dword [0x50080c], edx
mov dword [0x500810], esi
mov cl, byte [edi]
test cl, cl
jne 0x459780
pop edi
pop esi
ret

Function at 0x4597e0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub esp, 0x10
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov eax, esi
call fcn.00459750
push 0xa
lea eax, [esp + 0x14]
push eax
call 0x3e0000
mov eax, esi
call fcn.00459750
xor edi, edi
jmp 0x459820
movzx ebp, byte [esp + edi + 0x10]
mov esi, dword [0x500808]
mov ecx, dword [0x500810]
mov eax, ebp
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x4c6a48]
mov edx, ecx
mov eax, esi
mov dword [0x500808], eax
movzx eax, al
add eax, dword [0x50080c]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x50080c], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4c6a48]
or edx, 2
mov dword [0x500810], ecx
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
and ecx, 0xff
xor ecx, ebp
push ebx
push ecx
call fcn.0046251d
inc edi
add esp, 8
cmp edi, 0xa
jl 0x459820
mov esi, dword [esp + 0x28]
mov edi, dword [0x500808]
mov ebp, esi
mov ecx, dword [0x500810]
shr ebp, 0x10
mov eax, ebp
xor eax, edi
and eax, 0xff
shr edi, 8
xor edi, dword [eax*4 + 0x4c6a48]
mov edx, ecx
mov eax, edi
mov dword [0x500808], eax
movzx eax, al
add eax, dword [0x50080c]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x50080c], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4c6a48]
or edx, 2
mov dword [0x500810], ecx
mov ecx, edx
xor ecx, 1
imul ecx, edx
mov edx, esi
shr edx, 8
xor ecx, edx
shr ecx, 8
and ecx, 0xff
push ebx
push ecx
call fcn.0046251d
mov edi, dword [0x500808]
mov ecx, dword [0x500810]
shr esi, 0x18
xor esi, edi
and esi, 0xff
shr edi, 8
xor edi, dword [esi*4 + 0x4c6a48]
mov edx, ecx
mov eax, edi
mov dword [0x500808], eax
movzx eax, al
add eax, dword [0x50080c]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x50080c], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
or edx, 2
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c6a48]
mov eax, edx
xor eax, 1
imul eax, edx
and eax, 0xff00
xor eax, ebp
shr eax, 8
push ebx
push eax
mov dword [0x500810], ecx
call fcn.0046251d
mov ecx, dword [esp + 0x2c]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045e626
add esp, 0x10
ret 0xc
Function at 0x4599d0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Write file on windows

Disassembly:
cmp byte [0x4e5310], 0
push ebp
mov ebp, dword [esp + 0x10]
je 0x459a6b
push ebx
mov ebx, dword [esp + 0x10]
imul ebx, ebp
push edi
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x459a69
push esi
movsx eax, byte [edi]
mov esi, dword [0x500808]
xor eax, esi
and eax, 0xff
mov ecx, dword [0x500810]
shr esi, 8
xor esi, dword [eax*4 + 0x4c6a48]
mov edx, ecx
mov eax, esi
mov dword [0x500808], eax
movzx eax, al
add eax, dword [0x50080c]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x50080c], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x4c6a48]
or edx, 2
mov dword [0x500810], ecx
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
xor byte [edi], cl
inc edi
sub ebx, 1
jne 0x4599f4
pop esi
pop edi
pop ebx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push edx
push ebp
push eax
push ecx
call fcn.0045fd82
add esp, 0x10
pop ebp
ret 0x10

Function at 0x45a130
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b0626
mov eax, dword fs:[0]
push eax
mov eax, 0x2638
call fcn.0045ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x2634], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c03a0]
xor eax, esp
push eax
lea eax, [esp + 0x264c]
mov dword fs:[0], eax
call 0x3f3eb0
mov eax, dword [0x4e57a0]
movsx eax, byte [eax + 0x4c033c]
mov cl, byte [0x4e69c4]
xor ebp, ebp
mov dword [0x4bedd4], eax
neg eax
sbb eax, eax
mov dword [0x4bedd0], eax
mov al, byte [0x4e69c3]
mov dword [0x500838], ebp
mov dword [0x50083c], ebp
mov dword [0x500824], ebp
mov dword [0x500820], ebp
mov dword [0x4c93e0], ebp
mov dword [0x4c9870], ebp
mov dword [0x4bedd8], 0x4c9870
mov dword [0x4c9400], ebp
mov dword [0x4c93fc], ebp
mov dword [0x50081c], ebp
mov dword [0x500818], ebp
cmp al, 0x52
jne 0x45a1f3
mov dword [0x4c985c], 3
test cl, cl
je 0x45a1f9
mov dword [0x4c985c], ebp
xor edx, edx
cmp al, 0x53
sete dl
mov ebx, 1
mov dword [0x4c9864], edx
cmp al, 0x52
jne 0x45a21a
mov dword [0x4c9860], ebx
cmp cl, 0x4e
je 0x45a220
mov dword [0x4c9860], ebp
cmp byte [0x4e75f4], 0
je 0x45a3cb
push 0x4e75f4
call fcn.0045b8e0
mov dword [0x4c9400], eax
cmp eax, ebp
jne 0x45a256
Function at 0x45c6e0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x20]
push edi
push esi
push 0x50
call fcn.0046251d
push esi
push 0x4b
call fcn.0046251d
push esi
push 5
call fcn.0046251d
push esi
push 6
call fcn.0046251d
push esi
push 0
call fcn.0046251d
push esi
push 0
call fcn.0046251d
push esi
push 0
call fcn.0046251d
push esi
push 0
call fcn.0046251d
mov ebx, dword [esp + 0x50]
add esp, 0x40
movsx edi, bl
push esi
push edi
call fcn.0046251d
sar ebx, 8
movsx ebx, bl
push esi
push ebx
call fcn.0046251d
push esi
push edi
call fcn.0046251d
push esi
push ebx
call fcn.0046251d
mov ebx, dword [esp + 0x34]
movsx eax, bl
push esi
push eax
call fcn.0046251d
mov ecx, ebx
shr ecx, 8
movsx edx, cl
push esi
push edx
call fcn.0046251d
mov eax, ebx
shr eax, 0x10
movsx ecx, al
push esi
push ecx
call fcn.0046251d
shr ebx, 0x18
movsx edx, bl
push esi
push edx
call fcn.0046251d
mov ebx, dword [esp + 0x58]
add esp, 0x40
movsx eax, bl
push esi
push eax
call fcn.0046251d
mov ecx, ebx
shr ecx, 8
movsx edx, cl
push esi
push edx
call fcn.0046251d
push esi
mov eax, ebx
shr eax, 0x10
movsx ecx, al
push ecx
call fcn.0046251d
shr ebx, 0x18
movsx edx, bl
push esi
push edx
call fcn.0046251d
mov ebx, dword [esp + 0x3c]
movsx eax, bl
push esi
push eax
call fcn.0046251d
mov ecx, ebx
shr ecx, 8
movsx edx, cl
push esi
push edx
call fcn.0046251d
add esp, 0x30
test ebx, ebx
je 0x45c80c
mov eax, dword [esp + 0x20]
push esi
push ebx
push 1
push eax
call fcn.0045fd82
add esp, 0x10
cmp eax, ebx
je 0x45c80c
pop edi
pop esi
mov eax, 0xa
pop ebx
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x18
Function at 0x45fedb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], edi
je 0x45ff18
cmp dword [ebp + 0x14], edi
je 0x45ff18
cmp ecx, edi
jne 0x45ff1f
call fcn.004628c2
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0046436d
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x45ff33
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x45ff54
cmp ebx, 0xffffffff
je 0x45ff43
push ebx
push edi
push ecx
call fcn.0045ebe0
add esp, 0xc
cmp esi, edi
je 0x45ff00
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x45ff00
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test dword [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x45ff71
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x45ff78
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x46006a
test dword [esi + 0xc], 0x10c
je 0x45ffcd
mov eax, dword [esi + 4]
test eax, eax
je 0x45ffcd
jl 0x4600cb
mov edi, ebx
cmp ebx, eax
jb 0x45ff9e
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x460072
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00468997
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x460062
cmp ebx, dword [ebp - 0xc]
jb 0x46003a
cmp dword [ebp - 0xc], 0
je 0x45fff7
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x45ffec
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x45fff3
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x460002
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x460002
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x46009e
push eax
push dword [ebp - 8]
push esi
call fcn.00467657
pop ecx
push eax
call fcn.0046889a
add esp, 0xc
test eax, eax
je 0x4600dd
cmp eax, 0xffffffff
je 0x4600cb
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x460062
push esi
call fcn.004681b4
pop ecx
cmp eax, 0xffffffff
je 0x4600cf
cmp dword [ebp - 4], 0
je 0x46009e
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x45ff80
mov eax, dword [ebp + 0x14]
jmp 0x45ff1a
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x460089
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0045ebe0
add esp, 0xc
call fcn.004628c2
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x45ff10
cmp dword [ebp + 0xc], 0xffffffff
je 0x4600b4
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0045ebe0
add esp, 0xc
call fcn.004628c2
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x45ff10
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x45ff1a
or dword [esi + 0xc], 0x10
jmp 0x4600cf
Function at 0x466ff0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x467001
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x466ffe
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
ret

Function at 0x467020
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x46705a
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x467052
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x46705c
inc edx
add eax, 0x28
cmp edx, esi
jb 0x467042
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x4681b4
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
cmp esi, edi
jne 0x4681dd
call fcn.004628c2
push edi
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
call fcn.0046436d
add esp, 0x14
jmp 0x4682d4
mov eax, dword [esi + 0xc]
test al, 0x83
je 0x4682d4
test al, 0x40
jne 0x4682d4
Function at 0x4010a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a24f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4011a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a2553
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push ebp
push esi
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x42c]
push edi
push eax
mov esi, ecx
push 0x85
mov dword [esp + 0x20], esi
call fcn.004a105a
lea ebx, [esi + 0x74]
mov ecx, ebx
mov dword [esp + 0x428], 0
mov dword [esi], 0x4abea8
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ebp, [esi + 0x78]
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea edi, [esi + 0x7c]
mov ecx, edi
mov byte [esp + 0x428], 2
call sub.MFC71.DLL_CWnd::CWnd
mov dword [edi], 0x4ac008
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push str.config_menu.ini
lea eax, [esp + 0x18]
push 0x4cbdc0
push eax
mov byte [esp + 0x434], 4
call fcn.004010a0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x400
lea ecx, [esp + 0x24]
push ecx
push 0x4ac1cc
push str.abouttitle
push str.LIBMENU
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [0x4cc96c]
cmp eax, 0x28
jl 0x4012c7
cmp eax, 0x50
jg 0x4012c7
lea edx, [esp + 0x1c]
push edx
push 0x4ac1a0
push ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
movzx eax, byte [0x4cc8f3]
movzx ecx, byte [0x4cc8f2]
movzx edx, byte [0x4cc8f1]
push eax
movzx eax, byte [0x4cc8f0]
push ecx
push edx
dec eax
push eax
push 0x4ac188
jmp 0x4012fd
lea ecx, [esp + 0x1c]
push ecx
push str.PIPI_PPFilm_
push ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
movzx edx, byte [0x4cc8f3]
movzx eax, byte [0x4cc8f2]
movzx ecx, byte [0x4cc8f1]
push edx
movzx edx, byte [0x4cc8f0]
push eax
push ecx
push edx
push 0x4ac148
push ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x24
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x420]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x410]
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x41c
ret 4
Function at 0x401d10
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0x100
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401d47
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 8
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.MSVCR71.dll_gmtime]
push eax
call dword [sym.imp.MSVCR71.dll_mktime]
mov dword [esp + 0x38], eax
cdq
mov dword [esp + 0x14], edx
add esp, 8
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.00401c20
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push edi
push edi
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x20
ret 8

Function at 0x402fa0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
je 0x402fcd
push ebx
push edi
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ecx + edi*4]
shr eax, 8
xor eax, ebx
inc edx
dec esi
jne 0x402fb2
pop edi
pop ebx
not eax
pop esi
ret 8

Function at 0x402fe0
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
test bl, 1
je 0x402ff3
mov ecx, 0x80
mov eax, ebx
shr eax, 1
test al, 1
je 0x402ffe
or ecx, 0x40
shr eax, 1
test al, 1
je 0x403007
or ecx, 0x20
shr eax, 1
test al, 1
je 0x403010
or ecx, 0x10
shr eax, 1
test al, 1
je 0x403019
or ecx, 8
shr eax, 1
test al, 1
je 0x403022
or ecx, 4
shr eax, 1
test al, 1
je 0x40302b
or ecx, 2
test al, 2
je 0x403032
or ecx, 1
shl ecx, 0x18
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov dword [esi + ebx*4], ecx
mov eax, ecx
xor edx, edx
mov ecx, 0x1f
lea ecx, [ecx]
test al, 1
je 0x4030fd
mov edi, 1
shl edi, cl
or edx, edi
shr eax, 1
dec ecx
cmp ecx, 0xffffffff
jg 0x4030f0
mov dword [esi + ebx*4], edx
inc ebx
cmp ebx, 0xff
jle 0x402fe7
pop edi
pop esi
pop ebx
ret
Function at 0x408640
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4a2dcc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x43c
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x450]
push esi
mov dword [esp + 0x14], ecx
xor esi, esi
push 0x4acbb2
lea ecx, [esp + 0xc]
mov dword [esp + 0x444], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], esi
call dword [0x4ab700]
lea eax, [esp + 0x40]
push eax
push 0x400
mov dword [esp + 0x454], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp eax, esi
mov dword [esp + 0x20], eax
jbe 0x4087f0
push ebp
push edi
push 0x4ad9d0
push str.kernel32.dll
lea ebx, [esp + 0x50]
xor ebp, ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x20], eax
jmp 0x4086e0
cmp esi, dword [esp + 0x28]
ja 0x4087ea
cmp byte [ebx], 0
je 0x4087ea
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4087d1
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
je 0x408762
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x48]
push ecx
push ebx
call eax
test eax, eax
je 0x4087d1
mov ecx, dword [esp + 0x34]
cmp ecx, edi
jb 0x4087d1
mov esi, dword [esp + 0x30]
ja 0x408741
cmp esi, ebp
jbe 0x4087d1
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x51c]
add eax, dword [esp + 0x460]
xor edx, edx
cmp ecx, edx
mov ebp, esi
mov edi, ecx
jl 0x4087d1
jg 0x4087c6
cmp esi, eax
jmp 0x4087c4
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x4087d1
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
xor edx, edx
cmp edx, edi
jl 0x4087d1
jg 0x4087a3
cmp eax, ebp
jbe 0x4087d1
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x460]
mov ecx, dword [ecx + 0x51c]
add ecx, esi
xor esi, esi
cmp edx, esi
mov ebp, eax
mov edi, edx
jl 0x4087d1
jg 0x4087c6
cmp eax, ecx
jbe 0x4087d1
lea ecx, [esp + 0x10]
push ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4087d6
sub eax, edx
lea esi, [eax + 1]
add ebx, esi
jne 0x4086e0
mov ebx, dword [esp + 0x2c]
pop edi
pop ebp
lea edx, [esp + 8]
push edx
mov ecx, ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x444]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x43c]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x448
ret 8