Function at 0x1009cfef
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd1cb
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.100aefb5
test eax, eax
je 0x1009d031
xor eax, eax
jmp 0x1009d66e
mov ecx, dword [ebp - 0x298]
call fcn.10099a7a
test eax, eax
jne 0x1009d047
xor eax, eax
jmp 0x1009d66e
push 0
push 0
xor ebx, ebx
call fcn.1005be87
pop ecx
pop ecx
test eax, eax
je 0x1009d05f
xor eax, eax
jmp 0x1009d66e
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 0x1009d0cb
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 0x1009d0fa
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 0x1009d13e
call fcn.1005bef0
test eax, eax
jne 0x1009d13e
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.10001424
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xa
mov ecx, 0x101052f0
call fcn.100b0bc1
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x2c], 0x13
jne 0x1009d1dd
push 0x78
call fcn.10070967
pop ecx
mov dword [ebp - 0x258], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x258], 0
je 0x1009d1b8
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ccf2c
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.10036ea7
mov dword [ebp - 0x29c], eax
jmp 0x1009d1bf
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 0x1009d32e
cmp dword [ebp - 0x2c], 0x15
jne 0x1009d250
push 0x7c
call fcn.10070967
pop ecx
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x260], 0
je 0x1009d22b
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ccf40
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x260]
call fcn.1004003a
mov dword [ebp - 0x2a0], eax
jmp 0x1009d232
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 0x1009d32e
cmp dword [ebp - 0x2c], 0x64
je 0x1009d2c3
push 0x90
call fcn.10070967
pop ecx
mov dword [ebp - 0x268], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x268], 0
je 0x1009d2a1
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ccf54
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x268]
call fcn.10036b3e
mov dword [ebp - 0x2a4], eax
jmp 0x1009d2a8
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 0x1009d32e
push 0x8c
call fcn.10070967
pop ecx
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x270], 0
je 0x1009d30e
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ccf68
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.10036ca6
mov dword [ebp - 0x2a8], eax
jmp 0x1009d315
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.10003c1e
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.10003c04
mov byte [ebp - 4], 5
push 0
push 0x100ccf7c
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 0x100ccf88
lea eax, [ebp - 0x30]
push eax
call fcn.10015f58
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.10003c04
mov byte [ebp - 4], 6
push dword [ebp - 0x38]
push str.id_d
lea eax, [ebp - 0x18]
push eax
call fcn.10015f58
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x30]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x20]
call fcn.10024093
push str.serverdbg1
lea ecx, [ebp - 0x10]
call fcn.10003c37
mov byte [ebp - 4], 7
push str.serverdbg0
lea ecx, [ebp - 0x24]
call fcn.10003c37
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x20]
call fcn.10024093
push 1
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x20]
call fcn.1004115b
mov dword [ebp - 0x2ac], eax
push 0x100ccfd0
push dword [ebp - 0x2ac]
call fcn.100378a0
pop ecx
pop ecx
mov byte [ebp - 0x271], al
lea ecx, [ebp - 0x278]
call fcn.100105a7
movzx eax, byte [ebp - 0x271]
test eax, eax
je 0x1009d451
push 0x100ccfd4
lea ecx, [ebp - 0x20]
call fcn.10009fe3
push 0
push 0x100ccfd8
lea ecx, [ebp - 0x20]
call fcn.1001069a
test eax, eax
jge 0x1009d489
push dword [ebp - 0x1c]
push 0x100ccff4
push 0x100cd010
lea eax, [ebp - 0x30]
push eax
call fcn.10015f58
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.10037887
cmp dword [0x10105180], 0
je 0x1009d4c9
push 0
push 0x100cd020
lea ecx, [ebp - 0x20]
call fcn.1001069a
test eax, eax
jge 0x1009d4c9
push 1
push str.is_rty_inst
push 0x100cd050
lea eax, [ebp - 0x30]
push eax
call fcn.10015f58
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.10037887
push 1
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x20]
call fcn.1004115b
mov dword [ebp - 0x2b0], eax
push 0x100cd05c
push dword [ebp - 0x2b0]
call fcn.100378a0
pop ecx
pop ecx
mov byte [ebp - 0x279], al
lea ecx, [ebp - 0x280]
call fcn.100105a7
movzx eax, byte [ebp - 0x279]
test eax, eax
je 0x1009d51b
push 0x100cd060
lea ecx, [ebp - 0x20]
call fcn.10009fe3
push 0
push 0x100cd064
lea ecx, [ebp - 0x20]
call fcn.1001069a
test eax, eax
jge 0x1009d553
push dword [ebp - 0x1c]
push str.supplyid_ref
push 0x100cd09c
lea eax, [ebp - 0x30]
push eax
call fcn.10015f58
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.10037887
lea ecx, [ebp - 0x20]
call fcn.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x20]
call fcn.100350cd
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 0x1009d5be
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 0x1009d5c5
and dword [ebp - 0x2b4], 0
cmp dword [ebp - 0x34], 0
je 0x1009d5f8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x28c], esp
push 0x100ca816
call fcn.10001424
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xb
mov ecx, 0x101052f0
call fcn.100b0bc1
jmp 0x1009d623
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x290], esp
push 0x100ca817
call fcn.10001424
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xc
mov ecx, 0x101052f0
call fcn.100b0bc1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.100105a7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.100105a7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.100105a7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.100105a7
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