Function at 0x10001e60
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4fc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x30], 1
jmp 0x10001e90
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jg 0x10001ef5
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 0x30]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
and edx, 0x80000003
jns 0x10001eb0
dec edx
or edx, 0xfffffffc
inc edx
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x6c], 0
je 0x10001ec7
cmp dword [ebp - 0x6c], 1
je 0x10001ed2
cmp dword [ebp - 0x6c], 2
je 0x10001edd
jmp 0x10001eea
mov eax, dword [ebp - 0xc]
add eax, 5
mov dword [ebp - 0xc], eax
jmp 0x10001ef3
mov ecx, dword [ebp - 0xc]
sub ecx, 3
mov dword [ebp - 0xc], ecx
jmp 0x10001ef3
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xc], eax
jmp 0x10001ef3
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x10001e87
mov eax, 1
test eax, eax
je 0x1000280d
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
push 0x80
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x10005054]
push ecx
call fcn.10001d60
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 1
mov dword [ebp - 0x34], 1
jmp 0x10001f41
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 3
jg 0x10001fa6
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0x80000003
jns 0x10001f61
dec ecx
or ecx, 0xfffffffc
inc ecx
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x70], 0
je 0x10001f78
cmp dword [ebp - 0x70], 1
je 0x10001f83
cmp dword [ebp - 0x70], 2
je 0x10001f8e
jmp 0x10001f9b
mov edx, dword [ebp - 8]
add edx, 5
mov dword [ebp - 8], edx
jmp 0x10001fa4
mov eax, dword [ebp - 8]
sub eax, 3
mov dword [ebp - 8], eax
jmp 0x10001fa4
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
jmp 0x10001fa4
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x10001f38
push 0
push 0
push 0
push 0
push str.Mozilla_5.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10002003
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
add eax, 1
and eax, 0x80000001
jns 0x10001fe1
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
push eax
call fcn.10002a48
add esp, 4
jmp 0x10001ef5
mov dword [ebp - 0x38], 1
jmp 0x10002015
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 3
jg 0x10002079
mov edx, dword [ebp - 8]
imul edx, dword [ebp - 0x38]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
and eax, 0x80000003
jns 0x10002034
dec eax
or eax, 0xfffffffc
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x1000204b
cmp dword [ebp - 0x74], 1
je 0x10002056
cmp dword [ebp - 0x74], 2
je 0x10002061
jmp 0x1000206e
mov ecx, dword [ebp - 8]
add ecx, 5
mov dword [ebp - 8], ecx
jmp 0x10002077
mov edx, dword [ebp - 8]
sub edx, 3
mov dword [ebp - 8], edx
jmp 0x10002077
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
jmp 0x10002077
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x1000200c
mov dword [ebp - 0x94], 0xa00
push 4
lea ecx, [ebp - 0x94]
push ecx
push 0x54
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
jmp 0x100020b1
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xa
jge 0x100020e9
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x80000001
jns 0x100020d0
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x100020de
mov eax, dword [ebp - 4]
shl eax, 1
mov dword [ebp - 4], eax
jmp 0x100020e7
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
jmp 0x100020a8
push 0x3c
push 0
lea edx, [ebp - 0xfc]
push edx
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
mov dword [ebp - 0xfc], 0x3c
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], 0x100
lea ecx, [ebp - 0x4fc]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], 0x100
mov dword [ebp - 0x40], 0
jmp 0x10002145
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0xa
jge 0x1000217d
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0x80000001
jns 0x10002164
dec ecx
or ecx, 0xfffffffe
inc ecx
test ecx, ecx
jne 0x10002172
mov edx, dword [ebp - 4]
shl edx, 1
mov dword [ebp - 4], edx
jmp 0x1000217b
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
jmp 0x1000213c
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x84], eax
xor ecx, ecx
mov eax, dword [ebp - 0x84]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10002a4d
add esp, 4
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x44], 0
jmp 0x100021f8
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0xa
jge 0x1000222f
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x44]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x10002216
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x10002224
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
jmp 0x1000222d
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x100021ef
lea eax, [ebp - 0xfc]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x100022ac
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, 1
and ecx, 0x80000001
jns 0x10002272
dec ecx
or ecx, 0xfffffffe
inc ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.10002a48
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
call fcn.10002a48
add esp, 4
jmp 0x10001ef5
mov dword [ebp - 0x48], 0
jmp 0x100022be
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0xa
jge 0x100022f5
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x48]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x100022dc
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x100022ea
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
jmp 0x100022f3
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x100022b5
push 0
movzx eax, word [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1000237d
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
add edx, 1
and edx, 0x80000001
jns 0x10002343
dec edx
or edx, 0xfffffffe
inc edx
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
call fcn.10002a48
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.10002a48
add esp, 4
jmp 0x10001ef5
mov edx, 0x47
mov word [ebp - 0x8c], dx
mov eax, 0x45
mov word [ebp - 0x8a], ax
mov ecx, 0x54
mov word [ebp - 0x88], cx
xor edx, edx
mov word [ebp - 0x86], dx
mov dword [ebp - 0x4c], 0
jmp 0x100023bc
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xa
jge 0x100023f4
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x4c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x80000001
jns 0x100023db
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x100023e9
mov eax, dword [ebp - 4]
shl eax, 1
mov dword [ebp - 4], eax
jmp 0x100023f2
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
jmp 0x100023b3
push 0x800000
push 0
push 0
push 0
mov edx, dword [ebp - 0xd0]
push edx
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1000248e
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
add edx, 1
and edx, 0x80000001
jns 0x10002454
dec edx
or edx, 0xfffffffe
inc edx
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
push edx
call fcn.10002a48
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.10002a48
add esp, 4
jmp 0x10001ef5
mov dword [ebp - 0x50], 0
jmp 0x100024a0
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0xa
jge 0x100024d8
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x50]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0x80000001
jns 0x100024bf
dec ecx
or ecx, 0xfffffffe
inc ecx
test ecx, ecx
jne 0x100024cd
mov edx, dword [ebp - 4]
shl edx, 1
mov dword [ebp - 4], edx
jmp 0x100024d6
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
jmp 0x10002497
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x10002502
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x1000257a
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, 1
and ecx, 0x80000001
jns 0x10002540
dec ecx
or ecx, 0xfffffffe
inc ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.10002a48
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
push eax
call fcn.10002a48
add esp, 4
jmp 0x10001ef5
mov dword [ebp - 0x54], 0
jmp 0x1000258c
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 0xa
jge 0x100025c3
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x54]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x100025aa
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x100025b8
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
jmp 0x100025c1
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x10002583
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x64], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x100025f6
mov dword [ebp - 0x64], 0
jmp 0x100026d9
mov edx, dword [ebp - 0x28]
add edx, 1
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1000261a
mov dword [ebp - 0x64], 0
jmp 0x100026d9
mov eax, dword [ebp - 0x28]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1000265d
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x64], 0
jmp 0x100026d9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, dword [ebp - 0x58]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x18], 0
je 0x10002698
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x78]
add edx, dword [ecx]
push edx
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, dword [ebp - 0x58]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x28], 0
ja 0x100025d8
mov dword [ebp - 0x5c], 0
jmp 0x100026eb
mov edx, dword [ebp - 0x5c]
add edx, 1
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 0xa
jge 0x10002723
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0x80000001
jns 0x1000270a
dec ecx
or ecx, 0xfffffffe
inc ecx
test ecx, ecx
jne 0x10002718
mov edx, dword [ebp - 4]
shl edx, 1
mov dword [ebp - 4], edx
jmp 0x10002721
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
jmp 0x100026e2
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x60], 0
jmp 0x10002753
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 0xa
jge 0x1000278a
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x60]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x10002771
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x1000277f
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
jmp 0x10002788
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x1000274a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.10002a48
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
push eax
call fcn.10002a48
add esp, 4
cmp dword [ebp - 0x64], 0
je 0x100027cc
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jbe 0x100027cc
jmp 0x1000280d
cmp dword [ebp - 0x18], 0
je 0x100027e3
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x18], 0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, 1
and ecx, 0x80000001
jns 0x10002803
dec ecx
or ecx, 0xfffffffe
inc ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
jmp 0x10001ef5
mov dword [ebp - 0x68], 1
jmp 0x1000281f
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jg 0x10002884
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 0x68]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
and edx, 0x80000003
jns 0x1000283f
dec edx
or edx, 0xfffffffc
inc edx
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0
je 0x10002856
cmp dword [ebp - 0x7c], 1
je 0x10002861
cmp dword [ebp - 0x7c], 2
je 0x1000286c
jmp 0x10002879
mov eax, dword [ebp - 0xc]
add eax, 5
mov dword [ebp - 0xc], eax
jmp 0x10002882
mov ecx, dword [ebp - 0xc]
sub ecx, 3
mov dword [ebp - 0xc], ecx
jmp 0x10002882
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xc], eax
jmp 0x10002882
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x10002816
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret