Function at 0x407160
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x41a458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x38], 0
call sub.MFC70U.DLL_Ordinal_972
mov esi, dword [eax + 4]
push str.PlotSoft_PDFill_9.0
lea ecx, [esp + 0x18]
call fcn.00404410
push 0x41f478
add esi, 0xe4
lea eax, [esp + 0x14]
push esi
push eax
mov byte [esp + 0x44], 1
call fcn.00403db0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push 0x41f474
push edx
mov byte [esp + 0x50], 2
call fcn.00406420
push 0x41f474
push eax
lea eax, [esp + 0x3c]
mov bl, 3
push eax
mov byte [esp + 0x5c], bl
call fcn.00403db0
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.00401510
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40721a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40723d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
push 0x41f474
push ecx
call fcn.00406420
push 0x41f474
push eax
lea edx, [esp + 0x34]
mov bl, 5
push edx
mov byte [esp + 0x50], bl
call fcn.00403db0
add esp, 0x18
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 6
call fcn.00401510
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40729b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4072be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x41f464
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00403db0
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x50], 7
call fcn.00403d00
push str._GETVERSION
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x5c], 8
call fcn.00403db0
add esp, 0x24
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0xb
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407322
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407345
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x24]
push 0
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov edi, esp
push esi
call fcn.004012c0
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00406570
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 0xc
call fcn.00401e40
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCR70.dll__wcsicmp]
mov ebx, eax
mov eax, dword [esp + 0x30]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
or edi, 0xffffffff
inc bl
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4073c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov edx, edi
mov byte [esp + 0x38], 0xa
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test bl, bl
je 0x407475
test edx, edx
jg 0x4073ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x38], 2
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407408
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40742a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40744c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x38], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40746b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x407501
test edx, edx
jg 0x407481
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x38], 2
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40749c
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x38], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4074ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4