Function at 0x1009e823
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bff5e
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x3c], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a0], ecx
call fcn.100b1652
test eax, eax
je 0x1009e865
xor eax, eax
jmp 0x1009ef15
mov ecx, dword [ebp - 0x2a0]
call fcn.1009b201
test eax, eax
jne 0x1009e87b
xor eax, eax
jmp 0x1009ef15
push 0
push 0
xor ebx, ebx
call fcn.1005c757
pop ecx
pop ecx
test eax, eax
je 0x1009e893
xor eax, eax
jmp 0x1009ef15
and dword [ebp - 0x34], 0
and word [ebp - 0x24c], 0
push 0x208
push 0
lea eax, [ebp - 0x24a]
push eax
call fcn.10071b30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x24c]
push eax
push dword [0x10109260]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2a0]
cmp dword [eax + 0x10], 0
je 0x1009e8ff
push 0
push str.DispatchType
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x2a0]
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 - 0x2a0]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x2a0]
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 0x1009e92e
mov dword [ebp - 0x38], 0x112ee
push 0
push str.WaitMin2StartNew
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x2a0]
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 0x1009e972
call fcn.1005c7c0
test eax, eax
jne 0x1009e972
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 0x100cd80b
call fcn.10001405
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xa
mov ecx, 0x10109340
call fcn.100b38bb
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x2c], 0x13
jne 0x1009ea11
push 0x78
call fcn.10071d5d
pop ecx
mov dword [ebp - 0x258], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x258], 0
je 0x1009e9ec
mov eax, dword [ebp - 0x2a0]
push dword [eax + 0x10]
push 1
push 0x100d0484
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.1003784a
mov dword [ebp - 0x2a4], eax
jmp 0x1009e9f3
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x254], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x28], eax
jmp 0x1009ebd5
cmp dword [ebp - 0x2c], 0x15
jne 0x1009ea84
push 0x7c
call fcn.10071d5d
pop ecx
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x260], 0
je 0x1009ea5f
mov eax, dword [ebp - 0x2a0]
push dword [eax + 0x10]
push 1
push 0x100d0498
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x260]
call fcn.1003fbb7
mov dword [ebp - 0x2a8], eax
jmp 0x1009ea66
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x28], eax
jmp 0x1009ebd5
cmp dword [ebp - 0x2c], 0x16
jne 0x1009eaf7
push 0x78
call fcn.10071d5d
pop ecx
mov dword [ebp - 0x268], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x268], 0
je 0x1009ead2
mov eax, dword [ebp - 0x2a0]
push dword [eax + 0x10]
push 1
push 0x100d04ac
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x268]
call fcn.1003fc40
mov dword [ebp - 0x2ac], eax
jmp 0x1009ead9
and dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x264], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x28], eax
jmp 0x1009ebd5
cmp dword [ebp - 0x2c], 0x64
je 0x1009eb6a
push 0x90
call fcn.10071d5d
pop ecx
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x270], 0
je 0x1009eb48
mov eax, dword [ebp - 0x2a0]
push dword [eax + 0x10]
push 1
push 0x100d04c0
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.100374ac
mov dword [ebp - 0x2b0], eax
jmp 0x1009eb4f
and dword [ebp - 0x2b0], 0
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x26c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x28], eax
jmp 0x1009ebd5
push 0x8c
call fcn.10071d5d
pop ecx
mov dword [ebp - 0x278], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x278], 0
je 0x1009ebb5
mov eax, dword [ebp - 0x2a0]
push dword [eax + 0x10]
push 1
push 0x100d04d4
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x278]
call fcn.10037614
mov dword [ebp - 0x2b4], eax
jmp 0x1009ebbc
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x274], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2a0]
add eax, 0x14
push eax
lea ecx, [ebp - 0x20]
call fcn.10003b3a
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.10003b20
mov byte [ebp - 4], 6
push 0
push 0x100d04e8
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x2a0]
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 0x100d04f4
lea eax, [ebp - 0x30]
push eax
call fcn.10016180
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.10003b20
mov byte [ebp - 4], 7
push dword [ebp - 0x38]
push str.id_d
lea eax, [ebp - 0x18]
push eax
call fcn.10016180
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x30]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x20]
call fcn.100249c9
push str.serverdbg1
lea ecx, [ebp - 0x10]
call fcn.10003b53
mov byte [ebp - 4], 8
push str.serverdbg0
lea ecx, [ebp - 0x24]
call fcn.10003b53
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x20]
call fcn.100249c9
push 1
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x20]
call fcn.10040edf
mov dword [ebp - 0x2b8], eax
push 0x100d053c
push dword [ebp - 0x2b8]
call fcn.10038246
pop ecx
pop ecx
mov byte [ebp - 0x279], al
lea ecx, [ebp - 0x280]
call fcn.10010769
movzx eax, byte [ebp - 0x279]
test eax, eax
je 0x1009ecf8
push 0x100d0540
lea ecx, [ebp - 0x20]
call fcn.10009fbf
push 0
push 0x100d0544
lea ecx, [ebp - 0x20]
call fcn.10010870
test eax, eax
jge 0x1009ed30
push dword [ebp - 0x1c]
push 0x100d0560
push 0x100d057c
lea eax, [ebp - 0x30]
push eax
call fcn.10016180
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.1003822d
cmp dword [0x101091b8], 0
je 0x1009ed70
push 0
push 0x100d058c
lea ecx, [ebp - 0x20]
call fcn.10010870
test eax, eax
jge 0x1009ed70
push 1
push str.is_rty_inst
push 0x100d05bc
lea eax, [ebp - 0x30]
push eax
call fcn.10016180
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.1003822d
push 1
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x20]
call fcn.10040edf
mov dword [ebp - 0x2bc], eax
push 0x100d05c8
push dword [ebp - 0x2bc]
call fcn.10038246
pop ecx
pop ecx
mov byte [ebp - 0x281], al
lea ecx, [ebp - 0x288]
call fcn.10010769
movzx eax, byte [ebp - 0x281]
test eax, eax
je 0x1009edc2
push 0x100d05cc
lea ecx, [ebp - 0x20]
call fcn.10009fbf
push 0
push 0x100d05d0
lea ecx, [ebp - 0x20]
call fcn.10010870
test eax, eax
jge 0x1009edfa
push dword [ebp - 0x1c]
push str.supplyid_ref
push 0x100d0608
lea eax, [ebp - 0x30]
push eax
call fcn.10016180
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.1003822d
lea ecx, [ebp - 0x20]
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x20]
call fcn.1000ba55
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 - 0x290], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
je 0x1009ee65
push 1
mov eax, dword [ebp - 0x28c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28c]
call dword [eax + 0x1c]
mov dword [ebp - 0x2c0], eax
jmp 0x1009ee6c
and dword [ebp - 0x2c0], 0
cmp dword [ebp - 0x34], 0
je 0x1009ee9f
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x294], esp
push 0x100cd82e
call fcn.10001405
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xb
mov ecx, 0x10109340
call fcn.100b38bb
jmp 0x1009eeca
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x298], esp
push 0x100cd82f
call fcn.10001405
push 0
push 0x7d0
push dword [ebp - 0x38]
push 0xc
mov ecx, 0x10109340
call fcn.100b38bb
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
call fcn.10010769
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.10010769
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.10010769
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10010769
mov eax, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.10071b1a
leave
ret