Function at 0x1009d7b3
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bde40
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x100ea3e0]
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.100afaea
test eax, eax
je 0x1009d7f5
xor eax, eax
jmp 0x1009de32
mov ecx, dword [ebp - 0x298]
call fcn.1009a191
test eax, eax
jne 0x1009d80b
xor eax, eax
jmp 0x1009de32
push 0
push 0
xor ebx, ebx
call fcn.1005c0a7
pop ecx
pop ecx
test eax, eax
je 0x1009d823
xor eax, eax
jmp 0x1009de32
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 [0x1010622c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x298]
cmp dword [eax + 0x10], 0
je 0x1009d88f
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 0x1009d8be
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 0x1009d902
call fcn.1005c110
test eax, eax
jne 0x1009d902
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 0x100cb7f3
call fcn.10001446
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xa
mov ecx, 0x10106310
call fcn.100b1920
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x2c], 0x13
jne 0x1009d9a1
push 0x78
call fcn.10070b17
pop ecx
mov dword [ebp - 0x258], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x258], 0
je 0x1009d97c
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ce044
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.1003716c
mov dword [ebp - 0x29c], eax
jmp 0x1009d983
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 0x1009daf2
cmp dword [ebp - 0x2c], 0x15
jne 0x1009da14
push 0x7c
call fcn.10070b17
pop ecx
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x260], 0
je 0x1009d9ef
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ce058
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x260]
call fcn.1004048d
mov dword [ebp - 0x2a0], eax
jmp 0x1009d9f6
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 0x1009daf2
cmp dword [ebp - 0x2c], 0x64
je 0x1009da87
push 0x90
call fcn.10070b17
pop ecx
mov dword [ebp - 0x268], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x268], 0
je 0x1009da65
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ce06c
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x268]
call fcn.10036df2
mov dword [ebp - 0x2a4], eax
jmp 0x1009da6c
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 0x1009daf2
push 0x8c
call fcn.10070b17
pop ecx
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x270], 0
je 0x1009dad2
mov eax, dword [ebp - 0x298]
push dword [eax + 0x10]
push 1
push 0x100ce080
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.10036f52
mov dword [ebp - 0x2a8], eax
jmp 0x1009dad9
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.10003df2
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.10003dd8
mov byte [ebp - 4], 5
push 0
push 0x100ce094
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 0x100ce0a0
lea eax, [ebp - 0x30]
push eax
call fcn.1001612b
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.10003dd8
mov byte [ebp - 4], 6
push dword [ebp - 0x38]
push str.id_d
lea eax, [ebp - 0x18]
push eax
call fcn.1001612b
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.100212fb
push eax
lea ecx, [ebp - 0x30]
call fcn.100212fb
push eax
lea ecx, [ebp - 0x20]
call fcn.100247c8
push str.serverdbg1
lea ecx, [ebp - 0x10]
call fcn.10003e0b
mov byte [ebp - 4], 7
push str.serverdbg0
lea ecx, [ebp - 0x24]
call fcn.10003e0b
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
call fcn.100212fb
push eax
lea ecx, [ebp - 0x10]
call fcn.100212fb
push eax
lea ecx, [ebp - 0x20]
call fcn.100247c8
push 1
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x20]
call fcn.10041583
mov dword [ebp - 0x2ac], eax
push 0x100ce0e8
push dword [ebp - 0x2ac]
call fcn.10037b5d
pop ecx
pop ecx
mov byte [ebp - 0x271], al
lea ecx, [ebp - 0x278]
call fcn.10003e76
movzx eax, byte [ebp - 0x271]
test eax, eax
je 0x1009dc15
push 0x100ce0ec
lea ecx, [ebp - 0x20]
call fcn.1000a103
push 0
push 0x100ce0f0
lea ecx, [ebp - 0x20]
call fcn.10010946
test eax, eax
jge 0x1009dc4d
push dword [ebp - 0x1c]
push 0x100ce10c
push 0x100ce128
lea eax, [ebp - 0x30]
push eax
call fcn.1001612b
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.10037b44
cmp dword [0x10106188], 0
je 0x1009dc8d
push 0
push 0x100ce138
lea ecx, [ebp - 0x20]
call fcn.10010946
test eax, eax
jge 0x1009dc8d
push 1
push str.is_rty_inst
push 0x100ce168
lea eax, [ebp - 0x30]
push eax
call fcn.1001612b
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.10037b44
push 1
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x20]
call fcn.10041583
mov dword [ebp - 0x2b0], eax
push 0x100ce174
push dword [ebp - 0x2b0]
call fcn.10037b5d
pop ecx
pop ecx
mov byte [ebp - 0x279], al
lea ecx, [ebp - 0x280]
call fcn.10003e76
movzx eax, byte [ebp - 0x279]
test eax, eax
je 0x1009dcdf
push 0x100ce178
lea ecx, [ebp - 0x20]
call fcn.1000a103
push 0
push 0x100ce17c
lea ecx, [ebp - 0x20]
call fcn.10010946
test eax, eax
jge 0x1009dd17
push dword [ebp - 0x1c]
push str.supplyid_ref
push 0x100ce1b4
lea eax, [ebp - 0x30]
push eax
call fcn.1001612b
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.10037b44
lea ecx, [ebp - 0x20]
call fcn.100212fb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x20]
call fcn.100212fb
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 0x1009dd82
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 0x1009dd89
and dword [ebp - 0x2b4], 0
cmp dword [ebp - 0x34], 0
je 0x1009ddbc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x28c], esp
push 0x100cb816
call fcn.10001446
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xb
mov ecx, 0x10106310
call fcn.100b1920
jmp 0x1009dde7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x290], esp
push 0x100cb817
call fcn.10001446
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xc
mov ecx, 0x10106310
call fcn.100b1920
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.10003e76
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.10003e76
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.10003e76
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.10003e76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10003e76
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