Function at 0x10017ad3
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a93b
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x1002005c]
xor eax, ebp
mov dword [ebp - 0xb8], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x528], ecx
mov dword [ebp - 0x14], 0x10021dc4
mov byte [ebp - 0x10], 0
xor eax, eax
je 0x10017b2f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1d8], eax
push dword [ebp - 0x1d8]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
and dword [ebp - 4], 0
push 0x1002126c
lea ecx, [ebp - 0x28]
call fcn.10002a3c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x528]
call fcn.10016f84
movzx eax, al
test eax, eax
jne 0x10017b8f
mov byte [ebp - 0x1c5], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1c5]
jmp 0x100192f0
mov eax, dword [ebp - 0x528]
and dword [eax + 0x38], 0
mov eax, dword [ebp - 0x528]
and dword [eax + 0x1c], 0
lea eax, [ebp - 0x28]
push eax
push 0x6e
call fcn.10015fe3
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
push 0x3ed
push 0x505
mov ecx, dword [ebp - 0x528]
call fcn.1001593f
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x2c], 0
jmp 0x10017bde
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10021dbc]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x1e4]
jge 0x10017e38
cmp dword [ebp - 0x2c], 0
jl 0x10017c09
mov eax, dword [ebp - 0x2c]
cmp eax, dword [0x10021dbc]
jl 0x10017c1a
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x10021db8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax]
movzx eax, byte [eax + 0x318]
test eax, eax
jne 0x10017de8
mov eax, dword [ebp - 0x528]
mov eax, dword [eax + 0x1c]
inc eax
mov ecx, dword [ebp - 0x528]
mov dword [ecx + 0x1c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10017c67
mov eax, dword [ebp - 0x2c]
cmp eax, dword [0x10021dbc]
jl 0x10017c78
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x10021db8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov eax, dword [eax]
mov dword [ebp - 0x52c], eax
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp - 0x52c]
mov eax, dword [eax + 0x310]
or eax, dword [ecx + 0x314]
je 0x10017d02
cmp dword [ebp - 0x2c], 0
jl 0x10017cc3
mov eax, dword [ebp - 0x2c]
cmp eax, dword [0x10021dbc]
jl 0x10017cd4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x10021db8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
mov eax, dword [eax]
mov ecx, dword [eax + 0x310]
mov dword [ebp - 0x34], ecx
mov eax, dword [eax + 0x314]
mov dword [ebp - 0x30], eax
jmp 0x10017d55
cmp dword [ebp - 0x2c], 0
jl 0x10017d13
mov eax, dword [ebp - 0x2c]
cmp eax, dword [0x10021dbc]
jl 0x10017d24
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x10021db8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
push dword [eax]
push dword [0x10021da8]
mov ecx, dword [ebp - 0x528]
call fcn.10016218
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x34]
or eax, dword [ebp - 0x30]
je 0x10017db6
mov eax, dword [ebp - 0x34]
and eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
je 0x10017db6
cmp dword [ebp - 0x2c], 0
jl 0x10017d79
mov eax, dword [ebp - 0x2c]
cmp eax, dword [0x10021dbc]
jl 0x10017d8a
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x10021db8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x310], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x314], ecx
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10017dcc
mov eax, dword [ebp - 0x34]
and eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
jne 0x10017dd6
or dword [ebp - 0x24], 0xffffffff
or dword [ebp - 0x20], 0xffffffff
jmp 0x10017de8
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
adc ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x528]
call fcn.10015995
movzx eax, al
test eax, eax
je 0x10017e33
mov byte [ebp - 0x1c6], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1fc]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1c6]
jmp 0x100192f0
jmp 0x10017bd7
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10017e67
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov cl, 0xa
call fcn.10019830
push eax
push 0
push 0x504
mov eax, dword [ebp - 0x528]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_PostMessageA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x528]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x528]
and dword [eax + 0x20], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x38], 0
jmp 0x10017e95
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [0x10021dbc]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x204]
jge 0x100192b2
cmp dword [ebp - 0x38], 0
jl 0x10017ec0
mov eax, dword [ebp - 0x38]
cmp eax, dword [0x10021dbc]
jl 0x10017ed1
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x10021db8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax + 0x318]
test eax, eax
je 0x10017efe
jmp 0x10017e8e
cmp dword [ebp - 0x38], 0
jl 0x10017f0f
mov eax, dword [ebp - 0x38]
cmp eax, dword [0x10021dbc]
jl 0x10017f20
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x10021db8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x528]
mov ecx, dword [ebp - 0x20c]
mov ecx, dword [ecx]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 0x44]
add eax, 0x104
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x528]
add eax, 0x30
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x218], 0
jne 0x10017f72
and dword [ebp - 0x210], 0
jmp 0x10017f84
push dword [ebp - 0x218]
call fcn.10009950
pop ecx
mov dword [ebp - 0x210], eax
push dword [ebp - 0x210]
push dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
call fcn.10002569
mov eax, dword [ebp - 0x528]
mov eax, dword [eax + 0x20]
inc eax
mov ecx, dword [ebp - 0x528]
mov dword [ecx + 0x20], eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x60]
call fcn.10001448
mov byte [ebp - 4], 2
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 3
xor eax, eax
jne 0x10017fc5
xor eax, eax
jne 0x10017fc5
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 0x44]
add eax, 0x104
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xffffffff
jne 0x1001800a
call fcn.10002443
mov dword [ebp - 0x224], eax
jmp 0x1001801f
push dword [ebp - 0x220]
lea ecx, [ebp - 0x50]
call fcn.10002479
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x224], 0
je 0x10018127
push 0x1002126c
lea ecx, [ebp - 0x84]
call fcn.10002a3c
mov byte [ebp - 4], 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.1001616a
add esp, 0xc
mov eax, dword [ebp - 0x528]
add eax, 0x34
push eax
push 0x7c
call fcn.10015fe3
pop ecx
pop ecx
mov eax, dword [ebp - 0x44]
add eax, 0x104
push eax
push 0x1001cddc
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
push dword [ebp - 0x84]
push 0x1001cde4
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
mov byte [ebp - 0x1c7], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x84]
sub eax, 0x10
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
call fcn.10002a85
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x100180da
lea ecx, [ebp - 0x50]
call fcn.100024be
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1c7]
jmp 0x100192f0
cmp dword [ebp - 0x38], 0
jl 0x10018138
mov eax, dword [ebp - 0x38]
cmp eax, dword [0x10021dbc]
jl 0x10018149
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x10021db8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
push dword [eax]
push dword [ebp - 0x60]
mov ecx, dword [ebp - 0x528]
call fcn.10016c6c
mov ecx, dword [ebp - 0x528]
call fcn.10015995
movzx eax, al
test eax, eax
je 0x100181e9
mov byte [ebp - 0x1c8], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x1001819c
lea ecx, [ebp - 0x50]
call fcn.100024be
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1c8]
jmp 0x100192f0
mov dword [ebp - 0x48], 3
and dword [ebp - 0x58], 0
lea ecx, [ebp - 0x80]
call fcn.10001000
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x248], eax
push dword [ebp - 0x248]
lea ecx, [ebp - 0x80]
call fcn.10001099
movzx eax, al
test eax, eax
jne 0x100182bd
mov eax, dword [ebp - 0x528]
add eax, 0x34
push eax
push 0x7d
call fcn.10015fe3
pop ecx
pop ecx
push dword [ebp - 0x60]
push 0x1001cddc
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
mov byte [ebp - 0x1c9], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x10018270
lea ecx, [ebp - 0x50]
call fcn.100024be
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1c9]
jmp 0x100192f0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 3
jne 0x100182db
mov dword [ebp - 0x48], 3
jmp 0x1001838c
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 1
jne 0x10018304
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x58]
or eax, 0x8000000
mov dword [ebp - 0x58], eax
jmp 0x1001838c
mov eax, dword [ebp - 0x528]
add eax, 0x34
push eax
push 0x80
call fcn.10015fe3
pop ecx
pop ecx
mov byte [ebp - 0x1ca], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x1001833f
lea ecx, [ebp - 0x50]
call fcn.100024be
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1ca]
jmp 0x100192f0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x29c], eax
push dword [ebp - 0x29c]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
lea ecx, [ebp - 0x40]
call fcn.10002ab2
lea ecx, [ebp - 0x3c]
call fcn.10002ab2
mov byte [ebp - 4], 6
and dword [ebp - 0x5c], 0
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x70]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x100183e2
cmp dword [ebp - 0x5c], 0
je 0x1001842b
cmp dword [ebp - 0x54], 0
je 0x1001842b
mov ax, word [ebp - 0x74]
mov word [ebp - 0x2a2], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2a8], eax
push dword [ebp - 0x528]
push dword [ebp - 0x58]
push dword [ebp - 0x48]
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
push dword [ebp - 0x2a2]
push dword [ebp - 0x2a8]
push dword [0x10021da8]
call dword [0x10021e54]
mov ecx, dword [ebp - 0x528]
mov dword [ecx + 0xc], eax
jmp 0x1001848a
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2b0], eax
mov ax, word [ebp - 0x74]
mov word [ebp - 0x2b2], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2b8], eax
push dword [ebp - 0x528]
push dword [ebp - 0x58]
push dword [ebp - 0x48]
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b0]
push dword [ebp - 0x2b2]
push dword [ebp - 0x2b8]
push dword [0x10021da8]
call dword [0x10021e54]
mov ecx, dword [ebp - 0x528]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x528]
cmp dword [eax + 0xc], 0
jne 0x1001862a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 1
jne 0x10018511
mov eax, dword [ebp - 0x528]
push dword [eax + 0x3c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x40]
push eax
push 0
push 0x506
mov eax, dword [ebp - 0x528]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x528]
push dword [eax + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x528]
movzx eax, byte [eax + 0x26]
test eax, eax
je 0x10018511
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
jmp 0x100183c1
push 0x1002126c
lea ecx, [ebp - 0x8c]
call fcn.10002a3c
mov byte [ebp - 4], 7
push dword [ebp - 0x88]
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x528]
call fcn.10016bcc
mov eax, dword [ebp - 0x528]
add eax, 0x34
push eax
push 0x81
call fcn.10015fe3
pop ecx
pop ecx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2c0], eax
push dword [ebp - 0x2c0]
push 0x1001cddc
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
push dword [ebp - 0x8c]
push 0x1001cde4
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
mov byte [ebp - 0x1cb], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x8c]
sub eax, 0x10
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2c4]
call fcn.10002a85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10001416
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x100185dd
lea ecx, [ebp - 0x50]
call fcn.100024be
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x2e8], eax
mov ecx, dword [ebp - 0x2e8]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1cb]
jmp 0x100192f0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2f4], eax
push dword [ebp - 0x2f4]
lea ecx, [ebp - 0x4c]
call fcn.10001448
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2fc], eax
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x4c]
call fcn.1000240e
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x304], 3
jne 0x100186b0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x308], eax
push dword [ebp - 0x528]
push 0x84400000
push 0x10020f6c
push 0
push 0
push dword [ebp - 0x308]
push 0
mov eax, dword [ebp - 0x528]
push dword [eax + 0xc]
call dword [0x10021e50]
mov ecx, dword [ebp - 0x528]
mov dword [ecx + 0x10], eax
jmp 0x10018758
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], 1
jne 0x10018758
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x310], eax
cmp dword [ebp - 0x310], 0
jle 0x10018721
xor eax, eax
jl 0x100186f4
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
jge 0x100186fe
push 0x80070057
call fcn.10002a19
mov eax, dword [ebp - 0x4c]
mov al, byte [eax]
mov byte [ebp - 0x315], al
movsx eax, byte [ebp - 0x315]
cmp eax, 0x2f
jne 0x10018721
push 1
push 0
lea ecx, [ebp - 0x4c]
call fcn.100014cf
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x31c], eax
push dword [ebp - 0x528]
push 0x80000002
push 0x80000000
push dword [ebp - 0x31c]
mov eax, dword [ebp - 0x528]
push dword [eax + 0xc]
call dword [0x10021e4c]
mov ecx, dword [ebp - 0x528]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x528]
cmp dword [eax + 0x10], 0
jne 0x1001888e
push 0x1002126c
lea ecx, [ebp - 0x90]
call fcn.10002a3c
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x528]
call fcn.10016bcc
mov eax, dword [ebp - 0x528]
add eax, 0x34
push eax
push 0x7e
call fcn.10015fe3
pop ecx
pop ecx
push dword [ebp - 0x44]
push 0x1001cddc
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
push dword [ebp - 0x90]
push 0x1001cde4
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
mov byte [ebp - 0x1cc], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x90]
sub eax, 0x10
mov dword [ebp - 0x320], eax
mov ecx, dword [ebp - 0x320]
call fcn.10002a85
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
sub eax, 0x10
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
call fcn.10002a85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10001416
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x10018841
lea ecx, [ebp - 0x50]
call fcn.100024be
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x348]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1cc]
jmp 0x100192f0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x354], eax
push dword [ebp - 0x354]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x10], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x358], eax
cmp dword [ebp - 0x358], 3
jne 0x100190d2
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x528]
push dword [eax + 0x10]
call dword [0x10021e44]
test eax, eax
jne 0x100189f7
push 0x1002126c
lea ecx, [ebp - 0xa4]
call fcn.10002a3c
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x528]
call fcn.10016bcc
mov eax, dword [ebp - 0x528]
add eax, 0x34
push eax
push 0x7f
call fcn.10015fe3
pop ecx
pop ecx
push dword [ebp - 0xa4]
push 0x1001cddc
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
mov byte [ebp - 0x1cd], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xa4]
sub eax, 0x10
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x35c]
call fcn.10002a85
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
sub eax, 0x10
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
call fcn.10002a85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10001416
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x100189aa
cmp dword [ebp - 0x50], 0
je 0x100189aa
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x388], eax
mov ecx, dword [ebp - 0x388]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1cd]
jmp 0x100192f0
mov ecx, dword [ebp - 0x528]
call fcn.10015995
movzx eax, al
test eax, eax
je 0x10018ab1
mov byte [ebp - 0x1ce], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
sub eax, 0x10
mov dword [ebp - 0x390], eax
mov ecx, dword [ebp - 0x390]
call fcn.10002a85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10001416
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x10018a64
cmp dword [ebp - 0x50], 0
je 0x10018a64
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x3b4]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x3b8]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1ce]
jmp 0x100192f0
and dword [ebp - 0xa0], 0
and dword [ebp - 0x9c], 0
and dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 4
push 0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0x20000013
mov eax, dword [ebp - 0x528]
push dword [eax + 0x10]
call dword [0x10021e48]
test eax, eax
jne 0x10018c1a
push 0x1002126c
lea ecx, [ebp - 0xa8]
call fcn.10002a3c
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x528]
call fcn.10016bcc
mov eax, dword [ebp - 0x528]
add eax, 0x34
push eax
push 0x82
call fcn.10015fe3
pop ecx
pop ecx
push dword [ebp - 0xa8]
push 0x1001cddc
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
mov byte [ebp - 0x1cf], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xa8]
sub eax, 0x10
mov dword [ebp - 0x3c0], eax
mov ecx, dword [ebp - 0x3c0]
call fcn.10002a85
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
sub eax, 0x10
mov dword [ebp - 0x3c4], eax
mov ecx, dword [ebp - 0x3c4]
call fcn.10002a85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10001416
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x10018bcd
cmp dword [ebp - 0x50], 0
je 0x10018bcd
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x3e8], eax
mov ecx, dword [ebp - 0x3e8]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x3ec], eax
mov ecx, dword [ebp - 0x3ec]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1cf]
jmp 0x100192f0
cmp dword [ebp - 0xa0], 0x197
je 0x10018c36
cmp dword [ebp - 0xa0], 0x191
jne 0x10018dd0
mov eax, dword [ebp - 0x528]
push dword [eax + 0x3c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
mov eax, dword [ebp - 0x528]
push dword [eax + 0x10]
push 0x501
mov eax, dword [ebp - 0x528]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x528]
push dword [eax + 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x528]
movzx eax, byte [eax + 0x26]
test eax, eax
jne 0x10018dc6
push 0x1002126c
lea ecx, [ebp - 0xac]
call fcn.10002a3c
mov byte [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x528]
call fcn.10016bcc
push 0
push 0x83
call fcn.1000206a
pop ecx
pop ecx
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
jne 0x10018cd3
jmp 0x10018cec
push 0x83
push dword [ebp - 0x3f4]
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.10001d87
push 0x1001ce84
push 0x1001cddc
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
mov byte [ebp - 0x1d0], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xac]
sub eax, 0x10
mov dword [ebp - 0x3f8], eax
mov ecx, dword [ebp - 0x3f8]
call fcn.10002a85
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
sub eax, 0x10
mov dword [ebp - 0x3fc], eax
mov ecx, dword [ebp - 0x3fc]
call fcn.10002a85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10001416
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x10018d79
cmp dword [ebp - 0x50], 0
je 0x10018d79
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x420], eax
mov ecx, dword [ebp - 0x420]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x424]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1d0]
jmp 0x100192f0
jmp 0x100188a7
cmp dword [ebp - 0xa0], 0xc8
jne 0x10018f0a
push 0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xb0]
push eax
push 0x20000005
mov eax, dword [ebp - 0x528]
push dword [eax + 0x10]
call dword [0x10021e48]
test eax, eax
jne 0x10018e18
and dword [ebp - 0x9c], 0
and dword [ebp - 0x98], 0
jmp 0x10018e2c
mov eax, dword [ebp - 0xb0]
xor ecx, ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ecx
push 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x528]
call fcn.100170e7
movzx eax, al
test eax, eax
jne 0x10018f05
mov byte [ebp - 0x1d1], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
sub eax, 0x10
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
call fcn.10002a85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10001416
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x10018eb8
cmp dword [ebp - 0x50], 0
je 0x10018eb8
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x450]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp - 0x454]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1d1]
jmp 0x100192f0
jmp 0x100190cd
cmp dword [ebp - 0xa0], 0x12e
je 0x10018f26
cmp dword [ebp - 0xa0], 0x12d
jne 0x10018fd3
mov dword [ebp - 0xb4], 0x104
push 0
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x1c4]
push eax
push 0x21
mov eax, dword [ebp - 0x528]
push dword [eax + 0x10]
call dword [0x10021e48]
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x60]
call fcn.10002649
lea eax, [ebp - 0x28]
push eax
push 0x6f
call fcn.10015fe3
pop ecx
pop ecx
push dword [ebp - 0x60]
push 0x1001cddc
lea ecx, [ebp - 0x28]
call fcn.100015d4
lea eax, [ebp - 0x28]
push eax
push 0x3ed
push 0x505
mov ecx, dword [ebp - 0x528]
call fcn.1001593f
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
sub eax, 0x10
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
call fcn.10002a85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10001416
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
jmp 0x10018127
push dword [ebp - 0xa0]
push 0x1001cde0
lea eax, [ebp - 0x28]
push eax
call fcn.10002730
add esp, 0xc
mov eax, dword [ebp - 0x528]
add eax, 0x34
push eax
push 0x79
call fcn.10015fe3
pop ecx
pop ecx
push dword [ebp - 0x44]
push 0x1001cddc
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
push dword [ebp - 0x28]
push 0x1001cde4
mov ecx, dword [ebp - 0x528]
add ecx, 0x34
call fcn.100015d4
mov byte [ebp - 0x1d2], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
sub eax, 0x10
mov dword [ebp - 0x484], eax
mov ecx, dword [ebp - 0x484]
call fcn.10002a85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10001416
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x10019080
cmp dword [ebp - 0x50], 0
je 0x10019080
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x4a8], eax
mov ecx, dword [ebp - 0x4a8]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x4ac], eax
mov ecx, dword [ebp - 0x4ac]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1d2]
jmp 0x100192f0
jmp 0x1001920c
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x4b4], eax
cmp dword [ebp - 0x4b4], 1
jne 0x1001920c
xor eax, eax
jne 0x100190e8
xor eax, eax
jne 0x100190e8
and dword [ebp - 0x4bc], 0
and dword [ebp - 0x4b8], 0
push 0
lea eax, [ebp - 0x4b8]
push eax
push dword [ebp - 0x4bc]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x4c0], eax
cmp dword [ebp - 0x4c0], 0xffffffff
jne 0x10019130
call fcn.10002443
mov dword [ebp - 0x4c4], eax
push 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x44]
push dword [eax + 0x314]
push dword [eax + 0x310]
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x528]
call fcn.100170e7
movzx eax, al
test eax, eax
jne 0x1001920c
mov byte [ebp - 0x1d3], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
sub eax, 0x10
mov dword [ebp - 0x4c8], eax
mov ecx, dword [ebp - 0x4c8]
call fcn.10002a85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10001416
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x100191bf
cmp dword [ebp - 0x50], 0
je 0x100191bf
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x4ec], eax
mov ecx, dword [ebp - 0x4ec]
call fcn.10002a85
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x4f0], eax
mov ecx, dword [ebp - 0x4f0]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1d3]
jmp 0x100192f0
cmp dword [ebp - 0x50], 0
je 0x1001921f
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x528]
push dword [eax + 0x10]
call dword [0x10021e3c]
mov eax, dword [ebp - 0x528]
and dword [eax + 0x10], 0
mov eax, dword [ebp - 0x44]
mov byte [eax + 0x318], 1
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4c]
sub eax, 0x10
mov dword [ebp - 0x4f8], eax
mov ecx, dword [ebp - 0x4f8]
call fcn.10002a85
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10001416
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.10001394
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x10019292
cmp dword [ebp - 0x50], 0
je 0x10019292
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
sub eax, 0x10
mov dword [ebp - 0x51c], eax
mov ecx, dword [ebp - 0x51c]
call fcn.10002a85
jmp 0x10017e8e
mov eax, dword [ebp - 0x528]
mov byte [eax + 0x24], 0
mov byte [ebp - 0x1d4], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub eax, 0x10
mov dword [ebp - 0x520], eax
mov ecx, dword [ebp - 0x520]
call fcn.10002a85
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000267e
mov al, byte [ebp - 0x1d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0xb8]
xor ecx, ebp
call fcn.10009868
leave
ret