Function at 0x1004e050
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012280e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x398
mov eax, dword [0x1016f070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x310], esi
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x314], eax
xor edi, edi
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x330], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x338], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x340], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x318], edi
push 4
mov dword [ebp - 0x334], eax
mov dword [esi + 0x18], edi
call fcn.1000f070
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x31c]
call fcn.1001a5a0
mov dword [ebp - 4], edi
mov eax, dword [esi + 4]
mov dword [ebp - 0x32c], eax
test eax, eax
je 0x1004f1b4
mov eax, dword [ebp - 0x31c]
test eax, eax
je 0x1004e122
mov eax, dword [eax]
test eax, eax
je 0x1004e118
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x31c], 0
add esi, 0x20
mov dword [ebp - 0x320], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 1
push ecx
push 0x4080000
push 0
push 0
push ecx
push dword [ebp - 0x314]
push str.POST
push dword [ebp - 0x32c]
call fcn.10059810
mov ecx, eax
call fcn.100598d0
mov dword [ebp - 0x32c], eax
mov byte [ebp - 4], 0
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call ecx
cmp dword [ebp - 0x32c], 0
je 0x1004f1b4
push 4
lea ecx, [ebp - 0x328]
call fcn.1000f070
mov eax, dword [ebp - 0x310]
lea ecx, [ebp - 0x328]
add eax, 0x1c
push eax
call fcn.1001a5a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x310]
mov ecx, dword [ebp - 0x32c]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x328]
test eax, eax
je 0x1004e1dd
mov eax, dword [eax]
test eax, eax
je 0x1004e1d3
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x328], 0
push 0x3e
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x248]
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.10004bf0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x334]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x1004e369
push 2
push 0x1014b9cc
lea ecx, [ebp - 0x248]
call fcn.1000c770
push 8
push str.Cookie:
lea ecx, [ebp - 0x248]
call fcn.1000c770
xor ecx, ecx
mov dword [ebp - 0x30c], ecx
mov ecx, dword [ebp - 0x334]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x314], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1004e369
mov edi, dword [ebp - 0x314]
xor esi, esi
mov edx, dword [edi + esi + 0x10]
lea eax, [edi + esi]
mov dword [ebp - 0x314], edx
lea ecx, [eax + 0x18]
cmp dword [ebp - 0x314], 0
mov edx, edi
mov dword [ebp - 0x344], ecx
je 0x1004e32a
add ecx, 0x10
mov dword [ebp - 0x33c], ecx
cmp dword [ecx], 0
je 0x1004e32a
cmp dword [eax + 0x14], 8
jb 0x1004e2ca
mov eax, dword [eax]
push dword [ebp - 0x314]
lea ecx, [ebp - 0x248]
push eax
call fcn.1000c770
push 1
push 0x1014baac
lea ecx, [ebp - 0x248]
call fcn.1000c770
mov eax, dword [ebp - 0x344]
cmp dword [eax + 0x14], 8
jb 0x1004e2fc
mov eax, dword [eax]
mov ecx, dword [ebp - 0x33c]
push dword [ecx]
lea ecx, [ebp - 0x248]
push eax
call fcn.1000c770
push 1
push 0x1014b6ac
lea ecx, [ebp - 0x248]
call fcn.1000c770
mov edi, dword [ebp - 0x334]
mov edx, dword [edi]
mov eax, dword [ebp - 0x334]
mov edi, edx
inc dword [ebp - 0x30c]
add esi, 0x30
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x30c], eax
jb 0x1004e293
mov esi, dword [ebp - 0x320]
mov edi, dword [ebp - 0x318]
push 4
push str._r_n_r_n
lea ecx, [ebp - 0x248]
call fcn.1000c770
mov eax, dword [ebp - 0x338]
add eax, 0x10
mov dword [ebp - 0x320], eax
cmp dword [eax], 0
je 0x1004e483
push 0x12
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
push 0x1014ba84
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.10004bf0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x338]
cmp dword [ecx + 0x14], 8
jb 0x1004e3e8
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x320]
push dword [eax]
push ecx
lea ecx, [ebp - 0x230]
call fcn.1000c770
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x248]
push eax
call fcn.1000c770
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1004e466
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004e45c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f1e8
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov ecx, dword [ebp - 0x310]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x320], ecx
cmp eax, ecx
je 0x1004e853
add eax, 0x28
mov dword [ebp - 0x30c], eax
nop dword [eax]
mov byte [ebp - 4], 5
or edi, 1
mov dword [ebp - 0x318], edi
xor ecx, ecx
mov eax, dword [eax - 0x18]
add eax, 2
mov word [ebp - 0x230], cx
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0
push eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
call fcn.1000d000
push 2
push 0x1014b9cc
lea ecx, [ebp - 0x230]
call fcn.1000c770
mov eax, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x314]
mov edx, ecx
cmp dword [eax - 0x14], 8
jb 0x1004e528
mov edx, dword [ecx]
push dword [eax - 0x18]
lea ecx, [ebp - 0x230]
push edx
call fcn.1000c770
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x230]
push 2
push 0x1014badc
call fcn.1000c770
mov dword [ebp - 0x2a0], 0
xor ecx, ecx
mov dword [ebp - 0x29c], 0
or edi, 2
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2a0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x318], edi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x30c]
cmp dword [eax + 4], 8
lea ecx, [eax - 0x10]
jb 0x1004e5a9
mov ecx, dword [ecx]
push dword [eax]
push ecx
lea ecx, [ebp - 0x2b0]
call fcn.1000c770
mov dword [ebp - 0x34c], 0
xor ecx, ecx
mov dword [ebp - 0x348], 0
or edi, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x35c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x318], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x35c]
push 2
push 0x1014b9cc
call fcn.1000c770
or edi, 8
mov dword [ebp - 0x258], 0
xor ecx, ecx
mov dword [ebp - 0x254], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [ebp - 0x318], edi
and edi, 0xfffffffb
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x258], xmm0
mov word [eax], cx
mov dword [ebp - 0x318], edi
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x348]
cmp edx, 8
jb 0x1004e6a8
mov ecx, dword [ebp - 0x35c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004e69e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f1e8
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x34c], 0
and edi, 0xfffffffd
mov dword [ebp - 0x348], 7
mov word [ebp - 0x35c], ax
mov dword [ebp - 0x318], edi
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x29c]
cmp edx, 8
jb 0x1004e712
mov ecx, dword [ebp - 0x2b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004e708
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f1e8
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x2a0], 0
and edi, 0xfffffffe
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
mov dword [ebp - 0x318], edi
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1004e77c
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004e772
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f1e8
push edx
push ecx
call fcn.100da665
add esp, 8
push dword [ebp - 0x258]
xor eax, eax
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x254], 8
lea ecx, [ebp - 0x248]
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
push eax
mov dword [ebp - 0x21c], 7
call fcn.1000c770
and edi, 0xfffffff7
mov dword [ebp - 0x318], edi
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x1004e80c
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004e802
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f1e8
push edx
push ecx
call fcn.100da665
add esp, 8
mov ecx, dword [ebp - 0x314]
xor eax, eax
mov word [ebp - 0x268], ax
add ecx, 0x30
mov eax, dword [ebp - 0x30c]
add eax, 0x30
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x314], ecx
mov dword [ebp - 0x30c], eax
cmp ecx, dword [ebp - 0x320]
jne 0x1004e4b0
mov dword [ebp - 0x320], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push eax
push esi
call edi
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x248]
push dword [ebx + 0x10]
cmp dword [ebp - 0x234], 8
push dword [ebp - 0x330]
cmovae eax, dword [ebp - 0x248]
push dword [ebp - 0x238]
push eax
push dword [ebp - 0x32c]
call fcn.10059810
mov ecx, eax
call fcn.10059a20
test eax, eax
jne 0x1004e906
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x310]
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 3
push 0
push esi
call edi
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x1004f18d
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f183
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f1ed
jmp 0x1004f183
mov byte [ebp - 4], 3
push 0
push esi
call edi
mov eax, dword [ebp - 0x340]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x1004e926
mov ecx, dword [eax]
mov byte [ecx], 0
nop dword [eax]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x33c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call edi
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x24c]
push eax
push 0x1ff
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x32c]
call fcn.10059810
mov ecx, eax
call fcn.10059dd0
test eax, eax
je 0x1004e8a7
push 0
push esi
call edi
mov edi, dword [ebp - 0x24c]
cmp edi, 0x200
jae 0x1004f171
test edi, edi
je 0x1004ea1a
mov edx, dword [ebp - 0x340]
mov byte [ebp + edi - 0x218], 0
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x14]
sub eax, ecx
mov dword [ebp - 0x330], ecx
cmp edi, eax
ja 0x1004e9fd
cmp dword [edx + 0x14], 0x10
lea eax, [ecx + edi]
mov dword [edx + 0x10], eax
mov eax, edx
mov dword [ebp - 0x338], edx
jb 0x1004e9d6
mov eax, dword [edx]
mov dword [ebp - 0x338], eax
push edi
lea edx, [ebp - 0x218]
add eax, ecx
push edx
push eax
call fcn.100f26b0
mov eax, dword [ebp - 0x338]
add esp, 0xc
mov ecx, dword [ebp - 0x330]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x1004ea1a
push edi
lea eax, [ebp - 0x218]
mov byte [ebp - 0x320], 0
push eax
push dword [ebp - 0x320]
mov ecx, edx
push edi
call fcn.10012700
mov byte [ebp - 4], 3
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call edi
cmp dword [ebp - 0x24c], 0
ja 0x1004e930
mov edi, dword [ebp - 0x334]
push ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
call fcn.10049e60
mov eax, dword [edi]
add esp, 4
mov dword [edi + 4], eax
mov dword [ebp - 0x310], 0x200
push 0x402
call fcn.100dabf9
mov edi, eax
mov dword [ebp - 0x250], 0
mov ecx, 0x200
mov dword [ebp - 0x30c], edi
add esp, 4
nop dword [eax]
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x320], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push eax
push esi
call ecx
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x2cc]
push eax
push edi
push 0x2b
push dword [ebp - 0x32c]
call fcn.10059810
mov ecx, eax
call fcn.10059980
mov edi, eax
test edi, edi
setne byte [ebp - 0x321]
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test edi, edi
jne 0x1004eb59
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [ebp - 0x310]
cmp eax, ecx
jbe 0x1004eb65
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1004eb59
mov edi, dword [ebp - 0x2cc]
mov eax, dword [ebp - 0x30c]
inc edi
push eax
mov dword [ebp - 0x310], edi
call fcn.100da696
xor ecx, ecx
lea eax, [edi + 1]
add esp, 4
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100dabf9
mov ecx, dword [ebp - 0x310]
mov edi, eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x250], eax
jmp 0x1004ea74
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [ebp - 0x310]
cmp byte [ebp - 0x321], 0
je 0x1004f129
mov edi, dword [ebp - 0x30c]
cmp eax, ecx
ja 0x1004ea80
xor ecx, ecx
mov word [edi + eax*2], cx
xor eax, eax
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x288], ecx
mov ecx, edi
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1004ebb0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x298]
call fcn.10004bf0
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x288], 0
je 0x1004f10f
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x298]
push eax
push 0x3d
call fcn.100244c0
mov dword [ebp - 0x330], eax
cmp eax, 0xffffffff
je 0x1004ed75
push eax
push 0
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x298]
call fcn.10011b00
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x268]
push eax
call fcn.1000c390
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x348]
cmp edx, 8
jb 0x1004ecbf
mov ecx, dword [ebp - 0x35c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004ecb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f1e8
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x34c], 0
mov word [ebp - 0x35c], ax
mov eax, dword [ebp - 0x330]
inc eax
mov dword [ebp - 0x348], 7
cmp eax, dword [ebp - 0x288]
jae 0x1004ed75
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x298]
call fcn.10011b00
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x298]
push eax
call fcn.1000c390
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1004ed58
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004ed4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f1e8
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0
push 0x3b
lea ecx, [ebp - 0x298]
call fcn.100244c0
cmp eax, 0xffffffff
je 0x1004ee15
push eax
push 0
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x298]
call fcn.10011b00
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x280]
push eax
call fcn.1000c390
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x360]
cmp edx, 8
jb 0x1004edf6
mov ecx, dword [ebp - 0x374]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004edec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f1e8
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x360], 7
mov word [ebp - 0x374], ax
jmp 0x1004ee3b
cmp dword [ebp - 0x284], 8
lea eax, [ebp - 0x298]
push dword [ebp - 0x288]
cmovae eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x280]
push eax
call fcn.10004bf0
mov edx, str.__r_t_n
lea ecx, [ebp - 0x268]
call fcn.10091890
mov edx, str.__r_t_n
lea ecx, [ebp - 0x268]
call fcn.10091920
mov edx, str.__r_t_n
lea ecx, [ebp - 0x280]
call fcn.10091890
mov edx, str.__r_t_n
lea ecx, [ebp - 0x280]
call fcn.10091920
cmp dword [ebp - 0x258], 0
je 0x1004f0f1
cmp dword [ebp - 0x270], 0
je 0x1004f0f1
push 0x1014bab0
lea ecx, [ebp - 0x2b0]
call fcn.10004b20
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x280]
cmp dword [ebp - 0x26c], 8
lea ecx, [ebp - 0x2b0]
push dword [ebp - 0x270]
cmovae eax, dword [ebp - 0x280]
push eax
call fcn.1000c770
mov edi, dword [ebp - 0x2a0]
xor ecx, ecx
add edi, 0x20
mov dword [ebp - 0x308], 0x3c
mov eax, edi
mov edx, 2
mul edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x304], xmm0
movlpd qword [ebp - 0x2fc], xmm0
movlpd qword [ebp - 0x2f4], xmm0
movlpd qword [ebp - 0x2ec], xmm0
movlpd qword [ebp - 0x2e4], xmm0
seto cl
movlpd qword [ebp - 0x2dc], xmm0
neg ecx
movlpd qword [ebp - 0x2d4], xmm0
or ecx, eax
push ecx
call fcn.100dabf9
add esp, 4
mov dword [ebp - 0x2d4], eax
lea ecx, [edi + edi]
push ecx
push 0
push eax
call fcn.100f2c30
add esp, 0xc
mov dword [ebp - 0x33c], esi
lea eax, [edi - 1]
mov dword [ebp - 0x2d0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x308]
cmp dword [ebp - 0x29c], 8
lea eax, [ebp - 0x2b0]
push ecx
cmovae eax, dword [ebp - 0x2b0]
push ecx
push dword [ebp - 0x2a0]
push eax
call fcn.10059810
mov ecx, eax
call fcn.10059bf0
mov edi, eax
mov byte [ebp - 4], 0x18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test edi, edi
je 0x1004f096
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0x2c8]
call fcn.10004b20
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x2b8], 0
je 0x1004f035
cmp dword [ebp - 0x2b4], 8
lea eax, [ebp - 0x2c8]
lea ecx, [ebp - 0x2c8]
cmovae eax, dword [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.10040800
movups xmm0, xmmword [ebp - 0x2c8]
movups xmm1, xmmword [ebp - 0x280]
movq xmm2, qword [ebp - 0x270]
movups xmmword [ebp - 0x280], xmm0
movq xmm0, qword [ebp - 0x2b8]
movq qword [ebp - 0x270], xmm0
movups xmmword [ebp - 0x2c8], xmm1
movq qword [ebp - 0x2b8], xmm2
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x2b4]
cmp edx, 8
jb 0x1004f079
mov ecx, dword [ebp - 0x2c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f06f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004f1e8
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
push dword [ebp - 0x2d4]
call fcn.100da696
add esp, 4
lea eax, [ebp - 0x280]
lea ecx, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.1004f200
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x334]
push eax
call fcn.1004a210
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x3a4]
call fcn.100128c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2b0]
call fcn.10004b90
mov edi, dword [ebp - 0x30c]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x280]
call fcn.10004b90
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x268]
call fcn.10004b90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x298]
call fcn.10004b90
mov ecx, dword [ebp - 0x310]
jmp 0x1004ea80
mov eax, dword [ebp - 0x30c]
xor ecx, ecx
push eax
mov word [eax], cx
call fcn.100da696
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.10004b90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.1001a5d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31c]
call fcn.1001a5d0
mov al, 1
jmp 0x1004f1c8
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x1004e8bf
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], eax
mov word [ebp - 0x248], ax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x328]
call fcn.1001a5d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31c]
call fcn.1001a5d0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100da624
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20
call fcn.100f5ab9
call fcn.100f5ab9
int3