Function at 0x1009dcef
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be41b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x100eb3e0]
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.100b00b5
test eax, eax
je 0x1009dd31
xor eax, eax
jmp 0x1009e36e
mov ecx, dword [ebp - 0x298]
call fcn.1009a6cd
test eax, eax
jne 0x1009dd47
xor eax, eax
jmp 0x1009e36e
push 0
push 0
xor ebx, ebx
call fcn.1005bfc7
pop ecx
pop ecx
test eax, eax
je 0x1009dd5f
xor eax, eax
jmp 0x1009e36e
and dword [ebp - 0x34], 0
and word [ebp - 0x24c], 0
push 0x208
push 0
lea eax, [ebp - 0x24a]
push eax
call fcn.10073a50
add esp, 0xc
push 0x104
lea eax, [ebp - 0x24c]
push eax
push dword [0x1010722c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x298]
cmp dword [eax + 0x10], 0
je 0x1009ddcb
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 0x1009ddfa
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 0x1009de3e
call fcn.1005c030
test eax, eax
jne 0x1009de3e
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 0x100cc813
call fcn.10001427
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xa
mov ecx, 0x10107310
call fcn.100b1eeb
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x2c], 0x13
jne 0x1009dedd
push 0x78
call fcn.10070b17
pop ecx
mov dword [ebp - 0x258], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x258], 0
je 0x1009deb8
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100cf0f4
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.10036d24
mov dword [ebp - 0x29c], eax
jmp 0x1009debf
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 0x1009e02e
cmp dword [ebp - 0x2c], 0x15
jne 0x1009df50
push 0x7c
call fcn.10070b17
pop ecx
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x260], 0
je 0x1009df2b
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100cf108
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x260]
call fcn.10040861
mov dword [ebp - 0x2a0], eax
jmp 0x1009df32
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 0x1009e02e
cmp dword [ebp - 0x2c], 0x64
je 0x1009dfc3
push 0x90
call fcn.10070b17
pop ecx
mov dword [ebp - 0x268], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x268], 0
je 0x1009dfa1
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100cf11c
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x268]
call fcn.100369a2
mov dword [ebp - 0x2a4], eax
jmp 0x1009dfa8
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 0x1009e02e
push 0x8c
call fcn.10070b17
pop ecx
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x270], 0
je 0x1009e00e
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100cf130
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.10036b0a
mov dword [ebp - 0x2a8], eax
jmp 0x1009e015
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.10003aa2
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.10010322
mov byte [ebp - 4], 5
push 0
push 0x100cf144
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 0x100cf150
lea eax, [ebp - 0x30]
push eax
call fcn.10015b98
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.10010322
mov byte [ebp - 4], 6
push dword [ebp - 0x38]
push str.id_d
lea eax, [ebp - 0x18]
push eax
call fcn.10015b98
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.1002ffe8
push eax
lea ecx, [ebp - 0x30]
call fcn.1002ffe8
push eax
lea ecx, [ebp - 0x20]
call fcn.100237fe
push str.serverdbg1
lea ecx, [ebp - 0x10]
call fcn.10003abb
mov byte [ebp - 4], 7
push str.serverdbg0
lea ecx, [ebp - 0x24]
call fcn.10003abb
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
call fcn.1002ffe8
push eax
lea ecx, [ebp - 0x10]
call fcn.1002ffe8
push eax
lea ecx, [ebp - 0x20]
call fcn.100237fe
push 1
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x20]
call fcn.10041973
mov dword [ebp - 0x2ac], eax
push 0x100cf198
push dword [ebp - 0x2ac]
call fcn.10037715
pop ecx
pop ecx
mov byte [ebp - 0x271], al
lea ecx, [ebp - 0x278]
call fcn.100103c0
movzx eax, byte [ebp - 0x271]
test eax, eax
je 0x1009e151
push 0x100cf19c
lea ecx, [ebp - 0x20]
call fcn.10009d23
push 0
push 0x100cf1a0
lea ecx, [ebp - 0x20]
call fcn.100104c7
test eax, eax
jge 0x1009e189
push dword [ebp - 0x1c]
push 0x100cf1bc
push 0x100cf1d8
lea eax, [ebp - 0x30]
push eax
call fcn.10015b98
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.100376fc
cmp dword [0x10107188], 0
je 0x1009e1c9
push 0
push 0x100cf1e8
lea ecx, [ebp - 0x20]
call fcn.100104c7
test eax, eax
jge 0x1009e1c9
push 1
push str.is_rty_inst
push 0x100cf218
lea eax, [ebp - 0x30]
push eax
call fcn.10015b98
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.100376fc
push 1
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x20]
call fcn.10041973
mov dword [ebp - 0x2b0], eax
push 0x100cf224
push dword [ebp - 0x2b0]
call fcn.10037715
pop ecx
pop ecx
mov byte [ebp - 0x279], al
lea ecx, [ebp - 0x280]
call fcn.100103c0
movzx eax, byte [ebp - 0x279]
test eax, eax
je 0x1009e21b
push 0x100cf228
lea ecx, [ebp - 0x20]
call fcn.10009d23
push 0
push 0x100cf22c
lea ecx, [ebp - 0x20]
call fcn.100104c7
test eax, eax
jge 0x1009e253
push dword [ebp - 0x1c]
push str.supplyid_ref
push 0x100cf264
lea eax, [ebp - 0x30]
push eax
call fcn.10015b98
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.100376fc
lea ecx, [ebp - 0x20]
call fcn.1002ffe8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x20]
call fcn.1002ffe8
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 0x1009e2be
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 0x1009e2c5
and dword [ebp - 0x2b4], 0
cmp dword [ebp - 0x34], 0
je 0x1009e2f8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x28c], esp
push 0x100cc836
call fcn.10001427
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xb
mov ecx, 0x10107310
call fcn.100b1eeb
jmp 0x1009e323
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x290], esp
push 0x100cc837
call fcn.10001427
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xc
mov ecx, 0x10107310
call fcn.100b1eeb
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.100103c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.100103c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.100103c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.100103c0
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.10070dd1
leave
ret