Function at 0x1009d03f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd236
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x3c], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], ecx
call fcn.100af005
test eax, eax
je 0x1009d081
xor eax, eax
jmp 0x1009d6be
mov ecx, dword [ebp - 0x298]
call fcn.10099a8a
test eax, eax
jne 0x1009d097
xor eax, eax
jmp 0x1009d6be
push 0
push 0
xor ebx, ebx
call fcn.1005bee7
pop ecx
pop ecx
test eax, eax
je 0x1009d0af
xor eax, eax
jmp 0x1009d6be
and dword [ebp - 0x34], 0
and word [ebp - 0x24c], 0
push 0x208
push 0
lea eax, [ebp - 0x24a]
push eax
call fcn.100738a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x24c]
push eax
push dword [0x10105210]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x298]
cmp dword [eax + 0x10], 0
je 0x1009d11b
push 0
push str.DispatchType
mov eax, dword [ebp - 0x298]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x298]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x2c], eax
push 0
push str.NewSupplyId
mov eax, dword [ebp - 0x298]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x298]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1009d14a
mov dword [ebp - 0x38], 0x112ee
push 0
push str.WaitMin2StartNew
mov eax, dword [ebp - 0x298]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x298]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x1009d18e
call fcn.1005bf50
test eax, eax
jne 0x1009d18e
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x3c
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x250], esp
push 0x100ca7f3
call fcn.10001451
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xa
mov ecx, 0x101052f0
call fcn.100b0c11
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x2c], 0x13
jne 0x1009d22d
push 0x78
call fcn.10070967
pop ecx
mov dword [ebp - 0x258], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x258], 0
je 0x1009d208
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ccf4c
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.10036fb1
mov dword [ebp - 0x29c], eax
jmp 0x1009d20f
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x254], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x28], eax
jmp 0x1009d37e
cmp dword [ebp - 0x2c], 0x15
jne 0x1009d2a0
push 0x7c
call fcn.10070967
pop ecx
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x260], 0
je 0x1009d27b
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ccf60
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x260]
call fcn.10040506
mov dword [ebp - 0x2a0], eax
jmp 0x1009d282
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x28], eax
jmp 0x1009d37e
cmp dword [ebp - 0x2c], 0x64
je 0x1009d313
push 0x90
call fcn.10070967
pop ecx
mov dword [ebp - 0x268], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x268], 0
je 0x1009d2f1
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ccf74
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x268]
call fcn.10036c48
mov dword [ebp - 0x2a4], eax
jmp 0x1009d2f8
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x264], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x28], eax
jmp 0x1009d37e
push 0x8c
call fcn.10070967
pop ecx
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x270], 0
je 0x1009d35e
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ccf88
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.10036db0
mov dword [ebp - 0x2a8], eax
jmp 0x1009d365
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x26c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x298]
add eax, 0x14
push eax
lea ecx, [ebp - 0x20]
call fcn.1000401a
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.10004000
mov byte [ebp - 4], 5
push 0
push 0x100ccf9c
mov eax, dword [ebp - 0x298]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x298]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0x100ccfa8
lea eax, [ebp - 0x30]
push eax
call fcn.10016015
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.10004000
mov byte [ebp - 4], 6
push dword [ebp - 0x38]
push str.id_d
lea eax, [ebp - 0x18]
push eax
call fcn.10016015
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.1003537a
push eax
lea ecx, [ebp - 0x30]
call fcn.1003537a
push eax
lea ecx, [ebp - 0x20]
call fcn.1002411f
push str.serverdbg1
lea ecx, [ebp - 0x10]
call fcn.10004033
mov byte [ebp - 4], 7
push str.serverdbg0
lea ecx, [ebp - 0x24]
call fcn.10004033
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
call fcn.1003537a
push eax
lea ecx, [ebp - 0x10]
call fcn.1003537a
push eax
lea ecx, [ebp - 0x20]
call fcn.1002411f
push 1
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x20]
call fcn.10041643
mov dword [ebp - 0x2ac], eax
push 0x100ccff0
push dword [ebp - 0x2ac]
call fcn.100379bb
pop ecx
pop ecx
mov byte [ebp - 0x271], al
lea ecx, [ebp - 0x278]
call fcn.1001085b
movzx eax, byte [ebp - 0x271]
test eax, eax
je 0x1009d4a1
push 0x100ccff4
lea ecx, [ebp - 0x20]
call fcn.1000a2e3
push 0
push 0x100ccff8
lea ecx, [ebp - 0x20]
call fcn.1001094e
test eax, eax
jge 0x1009d4d9
push dword [ebp - 0x1c]
push 0x100cd014
push 0x100cd030
lea eax, [ebp - 0x30]
push eax
call fcn.10016015
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.100379a2
cmp dword [0x10105180], 0
je 0x1009d519
push 0
push 0x100cd040
lea ecx, [ebp - 0x20]
call fcn.1001094e
test eax, eax
jge 0x1009d519
push 1
push str.is_rty_inst
push 0x100cd070
lea eax, [ebp - 0x30]
push eax
call fcn.10016015
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.100379a2
push 1
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x20]
call fcn.10041643
mov dword [ebp - 0x2b0], eax
push 0x100cd07c
push dword [ebp - 0x2b0]
call fcn.100379bb
pop ecx
pop ecx
mov byte [ebp - 0x279], al
lea ecx, [ebp - 0x280]
call fcn.1001085b
movzx eax, byte [ebp - 0x279]
test eax, eax
je 0x1009d56b
push 0x100cd080
lea ecx, [ebp - 0x20]
call fcn.1000a2e3
push 0
push 0x100cd084
lea ecx, [ebp - 0x20]
call fcn.1001094e
test eax, eax
jge 0x1009d5a3
push dword [ebp - 0x1c]
push str.supplyid_ref
push 0x100cd0bc
lea eax, [ebp - 0x30]
push eax
call fcn.10016015
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.100379a2
lea ecx, [ebp - 0x20]
call fcn.1003537a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x20]
call fcn.1003537a
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x34], eax
push 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
je 0x1009d60e
push 1
mov eax, dword [ebp - 0x284]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x284]
call dword [eax + 0x1c]
mov dword [ebp - 0x2b4], eax
jmp 0x1009d615
and dword [ebp - 0x2b4], 0
cmp dword [ebp - 0x34], 0
je 0x1009d648
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x28c], esp
push 0x100ca816
call fcn.10001451
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xb
mov ecx, 0x101052f0
call fcn.100b0c11
jmp 0x1009d673
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x290], esp
push 0x100ca817
call fcn.10001451
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xc
mov ecx, 0x101052f0
call fcn.100b0c11
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.1001085b
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.1001085b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.1001085b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.1001085b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1001085b
mov eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.10070c21
leave
ret