Function at 0x40300c
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x43fce2
call fcn.0042f618
sub esp, 0x33c
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], eax
xor ebx, ebx
mov eax, dword [esi + 0x60]
lea edx, [ebp - 0x38]
push edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x6c]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], ebx
cmp dword [eax], ebx
je 0x403253
lea eax, [esi + 0x3c]
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x2c]
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403391
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, dword [ebp - 0x1c]
jne 0x40318c
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push 0x441340
push 0x17
push ebx
push 0x441350
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x348]
push dword [ebp - 0x18]
push str._s_8.8x.jdf
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x30
call fcn.0042f231
mov ecx, eax
add esp, 0x14
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x403100
lea eax, [ebp - 0x348]
push eax
call fcn.00402211
mov dword [ebp - 0x10], eax
jmp 0x403103
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040cfb1
test eax, eax
jne 0x40314d
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x403121
push 1
call fcn.00402250
mov eax, dword [ebp + 0x14]
push dword [ebp - 0x20]
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x40313f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x403253
mov eax, dword [ebp - 0x2c]
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004025b0
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], bl
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40317f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x10]
call fcn.0040cfb1
test eax, eax
jne 0x4031b4
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
jmp 0x403253
mov ecx, esi
call fcn.0040326f
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
push 0x4415c0
push 0x17
push ebx
push 0x441680
call edi
mov eax, dword [ebp + 8]
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp + 8]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp + 8]
push dword [esi + 0x5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push 0x4421e8
push eax
call dword [ecx]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp + 0xc]
lea eax, [ebp - 0x148]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push str.JobID_d_ProcID_d_OperID_d_JTPID_d_n
push eax
call fcn.0042f1df
add esp, 0x18
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10