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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4c9f50
push 0x478db0
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4d404c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x434], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00407410
mov edx, esi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00431600
mov bl, al
mov byte [ebp - 0x42d], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x43156e
test bl, bl
jne 0x4315dd
cmp edi, 0x1a
jne 0x4315dd
mov ecx, esi
call fcn.00407410
push 0x410
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.0047a230
add esp, 0xc
push 0x207
lea eax, [ebp - 0x42c]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x42c]
push eax
call fcn.00407910
add esp, 4
push eax
lea eax, [ebp - 0x42c]
push eax
mov ecx, esi
call fcn.004077b0
mov ecx, esi
call fcn.004073f0
movzx ebx, bl
mov ecx, 1
test al, al
cmove ebx, ecx
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00477374
mov esp, ebp
pop ebp
ret
Function at 0x4576a0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x4a4fe2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x4576e4
call fcn.00457830
cmp byte [0x4d714c], 0
jne 0x4576f7
mov eax, 0x80000001
jmp 0x45780b
mov eax, dword [esi]
test eax, eax
jne 0x457762
push 8
call fcn.00477385
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 1
call fcn.00477385
mov dword [edi + 4], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.0047a230
add esp, 0x14
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x457751
cmp dword [ebp + 4], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4577fa
call fcn.0041d660
test al, al
jne 0x45779c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.0041dbd0
test al, al
je 0x4577fa
mov ecx, dword [esi]
add ecx, 4
call fcn.0041d180
call fcn.0041d660
test al, al
je 0x4577fa
push str.Advapi32.dll
lea ecx, [ebp - 0x28]
call fcn.00407560
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.00415dc0
mov ecx, eax
call fcn.00415e80
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004074c0
test edi, edi
je 0x4577fa
push str.RegOpenCurrentUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4577fa
push dword [esi]
push 0x20019
call eax
test eax, eax
je 0x4577fa
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x457809
mov dword [eax], 0x80000001
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.00477374
lea esp, [ebp + 0x120]
pop ebp
ret 4
Function at 0x458eb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a535f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4d404c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.004074c0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.004074c0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.004074c0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.004074c0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004074c0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004074c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45a130
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a552f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d404c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00408220
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00408220
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00408220
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00408220
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00408220
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00408220
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x45bb90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a524f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d404c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.004075c0
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.004075c0
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.004075c0
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.004075c0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.004075c0
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.004075c0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45cd70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5a1f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4d404c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004075a0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004075a0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.004075a0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.004075a0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.004075a0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.004075a0
mov byte [ebp - 4], 5
mov byte [esi + 0x60], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45d500
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x4d404c]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x45d582
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x45d582
test ecx, ecx
je 0x45d57e
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x45d540
xor eax, eax
jmp 0x45d587
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x45d591
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00477374
add esp, 0xc
ret 0xc

Function at 0x45dfd0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x4d404c]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ecx + 0x10]
cmp eax, 0xffffffff
je 0x45e043
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45e01e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45e043
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, edi
pop edi
adc eax, 0
mov dword [esi], ecx
mov dword [esi + 4], eax
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00477374
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00477374
add esp, 8
ret 4
Function at 0x45e400
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x4d404c]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x45e473
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45e44e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45e473
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, edi
pop edi
adc eax, 0
mov dword [esi], ecx
mov dword [esi + 4], eax
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00477374
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00477374
add esp, 8
ret 4
Function at 0x464a00
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x4d404c]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x464a65
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x464a40
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x464a65
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00477374
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.00477374
add esp, 8
ret 4
Function at 0x464b80
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6a38
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x464bc9
mov dword [ecx], 0
mov dword [eax], 0
cmp dword [edi], 0xffffffff
je 0x464d1b
mov eax, dword [ebp + 0xc]
mov ecx, 0x100000
push 0
mov ebx, eax
mov dword [ebp - 0x1c], 0
cmp eax, 0x100000
lea eax, [ebp - 0x1c]
push eax
cmova ebx, ecx
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
cmp dword [edi + 0x1c], 0
je 0x464ce6
test eax, eax
je 0x464ce6
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
jae 0x464ce9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 0x24], eax
cmp ecx, 0xffffffff
je 0x464c6b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x464c5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x464c6b
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add ecx, esi
adc eax, 0
jmp 0x464c79
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push 0
push dword [ebp - 0x24]
push eax
push ecx
sub esp, 0x18
lea eax, [edi + 4]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.004075c0
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x18]
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x464ce6
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push ebx
add eax, esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
xor edx, edx
test ecx, ecx
mov eax, 0x80004005
cmovne eax, edx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x464c24
jmp 0x464ce9
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add dword [ecx], edx
test eax, eax
jne 0x464d12
test edx, edx
je 0x464d0e
mov eax, dword [ebp + 0xc]
add esi, edx
sub eax, edx
mov dword [ebp - 0x20], esi
mov dword [ebp + 0xc], eax
mov ecx, 0x100000
jne 0x464be0
mov al, 1
jmp 0x464d1d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x464d1b
mov dword [ecx], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477374
mov esp, ebp
pop ebp
ret 0x10
Function at 0x465d40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6bcd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00475dd0
add esp, 4
mov dword [ebp - 4], 0
push str.config.ini
lea ecx, [ebp - 0x264]
call fcn.00407560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x24c]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.0040e420
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.004074c0
lea ecx, [ebp - 0x234]
push ecx
call fcn.0040ac50
add esp, 4
movzx edx, al
test edx, edx
jne 0x465e0a
mov byte [ebp - 0x2c5], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004074c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.004074c0
mov al, byte [ebp - 0x2c5]
jmp 0x465f4b
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.0047a230
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00407400
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x4b8f00
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.Application
lea ecx, [ebp - 0x27c]
call fcn.00407560
mov byte [ebp - 4], 4
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.0040e420
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x27c]
call fcn.004074c0
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x294]
call fcn.00407560
mov byte [ebp - 4], 7
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x2c4]
push edx
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2d0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407520
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c4]
call fcn.004074c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x294]
call fcn.004074c0
mov edx, dword [ebp + 8]
push edx
call fcn.0040aab0
add esp, 4
mov byte [ebp - 0x2c6], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.004074c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004074c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.004074c0
mov al, byte [ebp - 0x2c6]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477374
mov esp, ebp
pop ebp
ret
Function at 0x46aad0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6bcd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00476180
add esp, 4
mov dword [ebp - 4], 0
push str.config.ini
lea ecx, [ebp - 0x264]
call fcn.00407560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x24c]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.0040e420
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.004074c0
lea ecx, [ebp - 0x234]
push ecx
call fcn.0040ac50
add esp, 4
movzx edx, al
test edx, edx
jne 0x46ab9a
mov byte [ebp - 0x2c5], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004074c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.004074c0
mov al, byte [ebp - 0x2c5]
jmp 0x46acdb
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.0047a230
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00407400
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x4b8f00
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.Application
lea ecx, [ebp - 0x27c]
call fcn.00407560
mov byte [ebp - 4], 4
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.0040e420
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x27c]
call fcn.004074c0
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x294]
call fcn.00407560
mov byte [ebp - 4], 7
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x2c4]
push edx
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2d0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407520
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c4]
call fcn.004074c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x294]
call fcn.004074c0
mov edx, dword [ebp + 8]
push edx
call fcn.0040aab0
add esp, 4
mov byte [ebp - 0x2c6], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.004074c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004074c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.004074c0
mov al, byte [ebp - 0x2c6]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477374
mov esp, ebp
pop ebp
ret
Function at 0x46b530
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7a51
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x264]
push eax
call fcn.00475ed0
add esp, 4
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x270]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.004074c0
push str.config.ini
lea ecx, [ebp - 0x24c]
call fcn.00407560
mov dword [ebp - 4], 1
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.0040e420
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
call fcn.004074c0
lea eax, [ebp - 0x234]
push eax
call fcn.0040ac50
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x46b61b
mov byte [ebp - 0x265], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.004074c0
mov al, byte [ebp - 0x265]
jmp 0x46b68c
push 0x20a
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.0047a230
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00407400
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x4b8f00
push str.VersionNew
push str.Pdf2Word
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00407460
mov byte [ebp - 0x266], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.004074c0
mov al, byte [ebp - 0x266]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477374
mov esp, ebp
pop ebp
ret
Function at 0x46d7b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8181
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b0], 0
lea eax, [ebp - 0x24c]
push eax
call fcn.0046dc90
add esp, 4
mov dword [ebp - 4], 1
push str.config.ini
lea ecx, [ebp - 0x264]
call fcn.00407560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x24c]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.0040e420
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.004074c0
lea ecx, [ebp - 0x234]
push ecx
call fcn.0040ac50
add esp, 4
movzx edx, al
test edx, edx
jne 0x46d893
push 0x4b8f00
mov ecx, dword [ebp + 8]
call fcn.00407560
mov eax, dword [ebp - 0x2b0]
or eax, 1
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.004074c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.004074c0
mov eax, dword [ebp + 8]
jmp 0x46da1c
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0047a230
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00407400
push eax
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0x4b8f00
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x2b4]
add ecx, 2
mov dword [ebp - 0x2bc], ecx
mov edx, dword [ebp - 0x2b4]
mov ax, word [edx]
mov word [ebp - 0x2b6], ax
add dword [ebp - 0x2b4], 2
cmp word [ebp - 0x2b6], 0
jne 0x46d8f1
mov ecx, dword [ebp - 0x2b4]
sub ecx, dword [ebp - 0x2bc]
sar ecx, 1
mov dword [ebp - 0x2c0], ecx
jne 0x46d96a
push 0x4b8f00
mov ecx, dword [ebp + 8]
call fcn.00407560
mov edx, dword [ebp - 0x2b0]
or edx, 1
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.004074c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.004074c0
mov eax, dword [ebp + 8]
jmp 0x46da1c
lea eax, [ebp - 0x2ac]
push eax
call fcn.0046d6d0
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x27c]
call fcn.00407560
mov byte [ebp - 4], 6
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x294]
push ecx
call fcn.0040e420
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x27c]
call fcn.004074c0
lea edx, [ebp - 0x294]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408220
mov eax, dword [ebp - 0x2b0]
or eax, 1
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x294]
call fcn.004074c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ac]
call fcn.004074c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.004074c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.004074c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477374
mov esp, ebp
pop ebp
ret