Function at 0x10001de0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001aa93
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x10020060]
xor eax, ebp
mov dword [ebp - 0xd4], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1f8], ecx
push 0
push 0x10021ee8
lea ecx, [ebp - 0x14]
call fcn.100058d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10006550
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1f8]
call fcn.10003ee0
movzx eax, al
test eax, eax
jne 0x10001e75
mov byte [ebp - 0x1dd], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1dd]
jmp 0x100035a5
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0x1c], 0
lea eax, [ebp - 0x20]
push eax
push 0x6e
call fcn.100047b0
add esp, 8
lea ecx, [ebp - 0x20]
push ecx
push 0x3ed
push 0x505
mov ecx, dword [ebp - 0x1f8]
call fcn.10004750
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
jmp 0x10001ecf
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov ecx, 0x10021edc
call fcn.10009e60
cmp dword [ebp - 0x24], eax
jge 0x10001ff7
mov eax, dword [ebp - 0x24]
push eax
mov ecx, 0x10021edc
call fcn.10004d20
mov ecx, dword [eax]
movzx edx, byte [ecx + 0x310]
test edx, edx
jne 0x10001fb3
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x1c]
add ecx, 1
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, 0x10021edc
call fcn.10004d20
mov ecx, dword [eax]
cmp dword [ecx + 0x30c], 0
je 0x10001f4a
mov edx, dword [ebp - 0x24]
push edx
mov ecx, 0x10021edc
call fcn.10004d20
mov eax, dword [eax]
mov ecx, dword [eax + 0x30c]
mov dword [ebp - 0x28], ecx
jmp 0x10001f70
mov edx, dword [ebp - 0x24]
push edx
mov ecx, 0x10021edc
call fcn.10004d20
mov eax, dword [eax]
push eax
mov ecx, dword [0x10021ed0]
push ecx
mov ecx, dword [ebp - 0x1f8]
call fcn.10004040
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x10001f95
cmp dword [ebp - 0x28], 0xffffffff
je 0x10001f95
mov edx, dword [ebp - 0x24]
push edx
mov ecx, 0x10021edc
call fcn.10004d20
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x30c], ecx
cmp dword [ebp - 0x1c], 0xffffffff
je 0x10001fa1
cmp dword [ebp - 0x28], 0xffffffff
jne 0x10001faa
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x10001fb3
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1f8]
call fcn.10003eb0
movzx eax, al
test eax, eax
je 0x10001ff2
mov byte [ebp - 0x1de], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1de]
jmp 0x100035a5
jmp 0x10001ec6
cmp dword [ebp - 0x1c], 0xffffffff
je 0x10002018
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push 0x504
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], 0
jmp 0x1000204d
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, 0x10021edc
call fcn.10009e60
cmp dword [ebp - 0x2c], eax
jge 0x10003573
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, 0x10021edc
call fcn.10004d20
mov edx, dword [eax]
movzx eax, byte [edx + 0x310]
test eax, eax
je 0x1000207d
jmp 0x10002044
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, 0x10021edc
call fcn.10004d20
mov edx, dword [ebp - 0x1f8]
mov eax, dword [eax]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, 0x10021edc
call fcn.10004d20
mov edx, dword [eax]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
add eax, 0x104
push eax
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x30
call fcn.10005e70
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x20]
add edx, 1
mov eax, dword [ebp - 0x1f8]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10005e90
mov byte [ebp - 4], 2
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x44]
call fcn.10006550
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x40]
call fcn.10005810
mov byte [ebp - 4], 4
movzx edx, byte [0x10021eda]
test edx, edx
je 0x10002354
push 0
push 0
push 0x80
push 3
push 1
push 0x40000000
mov eax, dword [ebp - 0x80]
add eax, 0x104
push eax
lea ecx, [ebp - 0x40]
call fcn.10005740
test eax, eax
jne 0x10002354
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10005680
test eax, eax
je 0x10002236
lea ecx, [ebp - 0x90]
call fcn.10006550
mov byte [ebp - 4], 5
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x90]
push edx
call fcn.100046b0
add esp, 0xc
mov eax, dword [ebp - 0x1f8]
add eax, 0x34
push eax
push 0x7c
call fcn.100047b0
add esp, 8
mov ecx, dword [ebp - 0x80]
add ecx, 0x104
push ecx
push 0x1001cd48
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
lea ecx, [ebp - 0x90]
call fcn.1000b9f0
push eax
push 0x1001cd4c
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
mov byte [ebp - 0x1df], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.100063c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1df]
jmp 0x100035a5
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
push str.Range:_bytes_d_
lea ecx, [ebp - 0x44]
push ecx
call fcn.10006020
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.1000b9f0
mov dword [ebp - 0x48], eax
push 2
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.10005620
test eax, eax
je 0x1000234f
lea ecx, [ebp - 0x94]
call fcn.10006550
mov byte [ebp - 4], 6
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x94]
push edx
call fcn.100046b0
add esp, 0xc
mov eax, dword [ebp - 0x1f8]
add eax, 0x34
push eax
push 0x7c
call fcn.100047b0
add esp, 8
mov ecx, dword [ebp - 0x80]
add ecx, 0x104
push ecx
push 0x1001cd48
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
lea ecx, [ebp - 0x94]
call fcn.1000b9f0
push eax
push 0x1001cd4c
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
mov byte [ebp - 0x1e0], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.100063c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1e0]
jmp 0x100035a5
jmp 0x1000245a
push 0
push 0
push 0x80
push 2
push 1
push 0x40000000
mov edx, dword [ebp - 0x80]
add edx, 0x104
push edx
lea ecx, [ebp - 0x40]
call fcn.10005740
test eax, eax
je 0x1000245a
lea ecx, [ebp - 0x98]
call fcn.10006550
mov byte [ebp - 4], 7
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.100046b0
add esp, 0xc
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
push ecx
push 0x7c
call fcn.100047b0
add esp, 8
mov edx, dword [ebp - 0x80]
add edx, 0x104
push edx
push 0x1001cd48
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
lea ecx, [ebp - 0x98]
call fcn.1000b9f0
push eax
push 0x1001cd4c
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
mov byte [ebp - 0x1e1], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x98]
call fcn.100063c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1e1]
jmp 0x100035a5
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, 0x10021edc
call fcn.10004d20
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000b9f0
push eax
mov ecx, dword [ebp - 0x1f8]
call fcn.10001800
mov ecx, dword [ebp - 0x1f8]
call fcn.10003eb0
movzx edx, al
test edx, edx
je 0x100024e2
mov byte [ebp - 0x1e2], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1e2]
jmp 0x100035a5
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x7c]
call fcn.10001030
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.1000b9f0
push eax
lea ecx, [ebp - 0x7c]
call fcn.10001090
movzx eax, al
test eax, eax
jne 0x100025a5
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
push ecx
push 0x7d
call fcn.100047b0
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.1000b9f0
push eax
push 0x1001cd48
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
mov byte [ebp - 0x1e3], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1e3]
jmp 0x100035a5
lea ecx, [ebp - 0x7c]
call fcn.10009e60
cmp eax, 3
jne 0x100025be
mov dword [ebp - 0x38], 3
jmp 0x10002654
lea ecx, [ebp - 0x7c]
call fcn.10009e60
cmp eax, 1
jne 0x100025e0
mov dword [ebp - 0x38], 1
mov edx, dword [ebp - 0x50]
or edx, 0x8000000
mov dword [ebp - 0x50], edx
jmp 0x10002654
mov eax, dword [ebp - 0x1f8]
add eax, 0x34
push eax
push 0x80
call fcn.100047b0
add esp, 8
mov byte [ebp - 0x1e4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1e4]
jmp 0x100035a5
lea ecx, [ebp - 0x14]
call fcn.100058b0
lea ecx, [ebp - 0x34]
call fcn.10003620
mov byte [ebp - 4], 9
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x7c]
call fcn.10001290
test eax, eax
je 0x1000268e
cmp dword [ebp - 0x58], 0
je 0x100026d2
cmp dword [ebp - 0x4c], 0
je 0x100026d2
mov ecx, dword [ebp - 0x1f8]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x7c]
call fcn.100011d0
movzx eax, ax
push eax
lea ecx, [ebp - 0x7c]
call fcn.100011f0
push eax
mov ecx, dword [0x10021ed0]
push ecx
call dword [0x10021f74]
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0xc], eax
jmp 0x1000271e
mov eax, dword [ebp - 0x1f8]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x7c]
call fcn.10001230
push eax
lea ecx, [ebp - 0x7c]
call fcn.10001210
push eax
lea ecx, [ebp - 0x7c]
call fcn.100011d0
movzx eax, ax
push eax
lea ecx, [ebp - 0x7c]
call fcn.100011f0
push eax
mov ecx, dword [0x10021ed0]
push ecx
call dword [0x10021f74]
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x1f8]
cmp dword [eax + 0xc], 0
jne 0x1000289f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x7c]
call fcn.10009e60
cmp eax, 1
jne 0x100027ad
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x34]
push eax
push 0
push 0x506
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x1f8]
movzx eax, byte [edx + 0x26]
test eax, eax
je 0x100027ad
lea ecx, [ebp - 0x34]
call fcn.1000b9f0
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x30]
call fcn.1000b9f0
mov dword [ebp - 0x4c], eax
jmp 0x10002676
lea ecx, [ebp - 0xa0]
call fcn.10006550
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0x1f8]
call fcn.10001d60
mov eax, dword [ebp - 0x1f8]
add eax, 0x34
push eax
push 0x81
call fcn.100047b0
add esp, 8
lea ecx, [ebp - 0x7c]
call fcn.100011f0
push eax
push 0x1001cd48
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
lea ecx, [ebp - 0xa0]
call fcn.1000b9f0
push eax
push 0x1001cd4c
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
mov byte [ebp - 0x1e5], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa0]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1e5]
jmp 0x100035a5
lea ecx, [ebp - 0x7c]
call fcn.10001250
push eax
lea ecx, [ebp - 0x3c]
call fcn.10005e90
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x7c]
call fcn.10001270
push eax
lea ecx, [ebp - 0x3c]
call fcn.10005600
lea ecx, [ebp - 0x7c]
call fcn.10009e60
cmp eax, 3
jne 0x1000290d
mov ecx, dword [ebp - 0x1f8]
push ecx
push 0x84400000
push 0x10020f7c
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.1000b9f0
push eax
push 0
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x10021f70]
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 0x10], eax
jmp 0x1000294d
lea ecx, [ebp - 0x7c]
call fcn.10009e60
cmp eax, 1
jne 0x1000294d
mov edx, dword [ebp - 0x1f8]
push edx
push 0x80000002
push 0x80000000
lea ecx, [ebp - 0x3c]
call fcn.1000b9f0
push eax
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [0x10021f6c]
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x1f8]
cmp dword [eax + 0x10], 0
jne 0x10002a53
lea ecx, [ebp - 0xa4]
call fcn.10006550
mov byte [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0x1f8]
call fcn.10001d60
mov edx, dword [ebp - 0x1f8]
add edx, 0x34
push edx
push 0x7e
call fcn.100047b0
add esp, 8
mov eax, dword [ebp - 0x80]
push eax
push 0x1001cd48
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
lea ecx, [ebp - 0xa4]
call fcn.1000b9f0
push eax
push 0x1001cd4c
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
mov byte [ebp - 0x1e6], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa4]
call fcn.100063c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1e6]
jmp 0x100035a5
lea ecx, [ebp - 0x14]
call fcn.10005850
lea ecx, [ebp - 0x7c]
call fcn.10009e60
cmp eax, 3
jne 0x1000341b
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.10006050
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x10]
push eax
call dword [0x10021f64]
test eax, eax
jne 0x10002b74
lea ecx, [ebp - 0xb4]
call fcn.10006550
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x1f8]
call fcn.10001d60
mov edx, dword [ebp - 0x1f8]
add edx, 0x34
push edx
push 0x7f
call fcn.100047b0
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.1000b9f0
push eax
push 0x1001cd48
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
mov byte [ebp - 0x1e7], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xb4]
call fcn.100063c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1e7]
jmp 0x100035a5
mov ecx, dword [ebp - 0x1f8]
call fcn.10003eb0
movzx eax, al
test eax, eax
je 0x10002bfb
mov byte [ebp - 0x1e8], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1e8]
jmp 0x100035a5
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 4
push 0
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xb0]
push edx
push 0x20000013
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x10]
push ecx
call dword [0x10021f68]
test eax, eax
jne 0x10002d28
lea ecx, [ebp - 0xb8]
call fcn.10006550
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0xb8]
push edx
mov ecx, dword [ebp - 0x1f8]
call fcn.10001d60
mov eax, dword [ebp - 0x1f8]
add eax, 0x34
push eax
push 0x82
call fcn.100047b0
add esp, 8
lea ecx, [ebp - 0xb8]
call fcn.1000b9f0
push eax
push 0x1001cd48
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
mov byte [ebp - 0x1e9], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xb8]
call fcn.100063c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1e9]
jmp 0x100035a5
cmp dword [ebp - 0xb0], 0x197
je 0x10002d44
cmp dword [ebp - 0xb0], 0x191
jne 0x10002e81
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x10]
push ecx
push 0x501
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x1f8]
movzx ecx, byte [eax + 0x26]
test ecx, ecx
jne 0x10002e77
lea ecx, [ebp - 0xbc]
call fcn.10006550
mov byte [ebp - 4], 0xf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0xbc]
push edx
mov ecx, dword [ebp - 0x1f8]
call fcn.10001d60
push 0x83
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.10005bf0
lea ecx, [ebp - 0xbc]
call fcn.1000b9f0
push eax
push 0x1001cd48
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
mov byte [ebp - 0x1ea], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbc]
call fcn.100063c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1ea]
jmp 0x100035a5
jmp 0x10002a5b
cmp dword [ebp - 0xb0], 0xc8
jne 0x10002f91
cmp dword [ebp - 0x54], 0
je 0x10002eac
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.10005620
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xac]
push ecx
push 0x20000005
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x10]
push eax
call dword [0x10021f68]
test eax, eax
jne 0x10002edf
mov dword [ebp - 0xac], 0
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, 0x10021edc
call fcn.10004d20
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xac]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x1f8]
call fcn.10003670
movzx ecx, al
test ecx, ecx
jne 0x10002f8c
mov byte [ebp - 0x1eb], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1eb]
jmp 0x100035a5
jmp 0x10003416
cmp dword [ebp - 0xb0], 0xce
jne 0x100030ac
cmp dword [ebp - 0x48], 0
je 0x100030ac
push 0
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0xac]
push eax
push 0x20000005
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x10]
push edx
call dword [0x10021f68]
test eax, eax
jne 0x10002fe0
mov dword [ebp - 0xac], 0
jmp 0x10002ff8
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x54]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, 0x10021edc
call fcn.10004d20
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x1f8]
call fcn.10003670
movzx eax, al
test eax, eax
jne 0x100030a7
mov byte [ebp - 0x1ec], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1ec]
jmp 0x100035a5
jmp 0x10003416
cmp dword [ebp - 0xb0], 0x1a0
jne 0x10003280
lea ecx, [ebp - 0xc0]
call fcn.10006550
mov byte [ebp - 4], 0x10
mov dword [ebp - 0xa8], pe_nt_image_headers32
mov byte [ebp - 0xc1], 0
push 0
lea ecx, [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0xc0]
call fcn.100063a0
push eax
push 0x35
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x10]
push ecx
call dword [0x10021f68]
test eax, eax
je 0x1000319b
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0xc0]
call fcn.10005f90
push 0x2f
lea ecx, [ebp - 0xc0]
call fcn.10004ab0
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jle 0x1000319b
mov eax, dword [ebp - 0xc8]
add eax, 1
push eax
lea ecx, [ebp - 0x1f0]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.10004b00
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1fc]
call fcn.1000b9f0
push eax
call fcn.10007d90
add esp, 4
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0x1f0]
call fcn.100063c0
mov edx, dword [ebp - 0xcc]
xor eax, eax
cmp edx, dword [ebp - 0x54]
sete al
mov byte [ebp - 0xc1], al
movzx ecx, byte [ebp - 0xc1]
test ecx, ecx
jne 0x10003202
lea ecx, [ebp - 0x44]
call fcn.10005ca0
mov dword [ebp - 0x48], 0
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.10005620
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
call fcn.100063c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
jmp 0x1000245a
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, 0x10021edc
call fcn.10004d20
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
mov dword [eax + 0x30c], ecx
call fcn.10001b00
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x54]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
push 0x503
mov edx, dword [ebp - 0x1f8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp - 0x1c], 0xffffffff
je 0x1000326c
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0x504
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
call fcn.100063c0
jmp 0x10003416
cmp dword [ebp - 0xb0], 0x12e
je 0x1000329c
cmp dword [ebp - 0xb0], 0x12d
jne 0x10003342
mov dword [ebp - 0xd0], 0x104
push 0
lea edx, [ebp - 0xd0]
push edx
lea eax, [ebp - 0x1dc]
push eax
push 0x21
mov ecx, dword [ebp - 0x1f8]
mov edx, dword [ecx + 0x10]
push edx
call dword [0x10021f68]
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10005e70
lea ecx, [ebp - 0x20]
push ecx
push 0x6f
call fcn.100047b0
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.1000b9f0
push eax
push 0x1001cd48
lea ecx, [ebp - 0x20]
call fcn.100048f0
lea edx, [ebp - 0x20]
push edx
push 0x3ed
push 0x505
mov ecx, dword [ebp - 0x1f8]
call fcn.10004750
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
jmp 0x1000245a
mov eax, dword [ebp - 0xb0]
push eax
push 0x1001cd40
lea ecx, [ebp - 0x20]
push ecx
call fcn.10006020
add esp, 0xc
mov edx, dword [ebp - 0x1f8]
add edx, 0x34
push edx
push 0x79
call fcn.100047b0
add esp, 8
mov eax, dword [ebp - 0x80]
push eax
push 0x1001cd48
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
lea ecx, [ebp - 0x20]
call fcn.1000b9f0
push eax
push 0x1001cd4c
mov ecx, dword [ebp - 0x1f8]
add ecx, 0x34
call fcn.100048f0
mov byte [ebp - 0x1f1], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1f1]
jmp 0x100035a5
jmp 0x100034ea
lea ecx, [ebp - 0x7c]
call fcn.10009e60
cmp eax, 1
jne 0x100034ea
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.10005620
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, 0x10021edc
call fcn.10004d20
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x30c]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x1f8]
call fcn.10003670
movzx edx, al
test edx, edx
jne 0x100034ea
mov byte [ebp - 0x1f2], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1f2]
jmp 0x100035a5
lea ecx, [ebp - 0x40]
call fcn.100057c0
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax + 0x10]
push ecx
call dword [0x10021f5c]
mov edx, dword [ebp - 0x1f8]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, 0x10021edc
call fcn.10004d20
mov ecx, dword [eax]
mov byte [ecx + 0x310], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.100063c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.100035d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.100057a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.100063c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.100063c0
jmp 0x10002044
mov edx, dword [ebp - 0x1f8]
mov byte [edx + 0x24], 0
mov byte [ebp - 0x1f3], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100063c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10005870
mov al, byte [ebp - 0x1f3]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0xd4]
xor ecx, ebp
call fcn.1000f271
mov esp, ebp
pop ebp
ret