Function at 0x10052f20
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 0x101b0e23
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3a0
mov eax, dword [0x10221008]
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 - 0x32c], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x31c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x308], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x330], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x324], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x318], eax
lea eax, [esi + 0x1c]
mov dword [ebp - 0x310], 0
mov edi, eax
mov dword [ebp - 0x21c], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x21c], edi
test edi, edi
je 0x10052fd3
mov eax, dword [edi]
test eax, eax
je 0x10052fd3
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov dword [ebp - 0x304], eax
test eax, eax
je 0x10053dad
test edi, edi
je 0x10053004
mov eax, dword [edi]
test eax, eax
je 0x10052ffc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov dword [ebp - 0x21c], edi
add esi, 0x20
mov dword [ebp - 0x334], 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
sub esp, 0xc
push dword [ebp - 0x31c]
push ecx
push dword [ebp - 0x304]
call fcn.100599f0
mov ecx, eax
call fcn.10059ad0
mov dword [ebp - 0x320], eax
mov byte [ebp - 4], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x320], 0
jne 0x10053083
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10053dcf
mov eax, dword [edi]
test eax, eax
je 0x10053dc5
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
jmp 0x10053dc5
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x220], eax
test eax, eax
je 0x100530b0
mov ecx, dword [eax]
test ecx, ecx
je 0x100530b0
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x314]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x32c]
mov edx, dword [ebp - 0x320]
mov dword [ecx + 8], edx
test eax, eax
je 0x100530e3
mov eax, dword [eax]
test eax, eax
je 0x100530d5
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
xor eax, eax
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x220], eax
push 0x3e
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x258]
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
call fcn.10004a60
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x318]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x10053283
push 2
push 0x101ee7c4
lea ecx, [ebp - 0x258]
call fcn.100088d0
push 8
push 0x101ee854
lea ecx, [ebp - 0x258]
call fcn.100088d0
mov eax, dword [ebp - 0x318]
xor ecx, ecx
mov dword [ebp - 0x2fc], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edx
mov dword [ebp - 0x31c], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10053283
mov edi, dword [ebp - 0x318]
xor eax, eax
mov esi, dword [ebp - 0x31c]
mov dword [ebp - 0x304], eax
nop word [eax + eax]
mov edx, dword [eax + esi + 0x10]
add eax, esi
mov dword [ebp - 0x31c], edx
mov edx, esi
cmp dword [ebp - 0x31c], 0
lea ecx, [eax + 0x18]
mov dword [ebp - 0x328], ecx
je 0x10053240
add ecx, 0x10
mov dword [ebp - 0x300], ecx
cmp dword [ecx], 0
je 0x10053240
cmp dword [eax + 0x14], 8
jb 0x100531e6
mov eax, dword [eax]
push dword [ebp - 0x31c]
lea ecx, [ebp - 0x258]
push eax
call fcn.100088d0
push 1
push 0x101ee850
lea ecx, [ebp - 0x258]
call fcn.100088d0
mov eax, dword [ebp - 0x328]
cmp dword [eax + 0x14], 8
jb 0x10053218
mov eax, dword [eax]
mov ecx, dword [ebp - 0x300]
push dword [ecx]
lea ecx, [ebp - 0x258]
push eax
call fcn.100088d0
push 1
push 0x101ee004
lea ecx, [ebp - 0x258]
call fcn.100088d0
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov esi, edx
inc dword [ebp - 0x2fc]
sub ecx, edx
add dword [ebp - 0x304], 0x30
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x304]
jb 0x100531b0
mov esi, dword [ebp - 0x334]
mov edi, dword [ebp - 0x21c]
push 4
push str._r_n_r_n
lea ecx, [ebp - 0x258]
call fcn.100088d0
mov eax, dword [ebp - 0x330]
add eax, 0x10
mov dword [ebp - 0x300], eax
cmp dword [eax], 0
je 0x1005334b
push 0x12
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x238]
push 0x101ee87c
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.10004a60
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x330]
cmp dword [ecx + 0x14], 8
jb 0x10053302
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x300]
push dword [eax]
push ecx
lea ecx, [ebp - 0x238]
call fcn.100088d0
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push dword [ebp - 0x228]
cmovae eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x258]
push eax
call fcn.100088d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.100049f0
mov ecx, dword [ebp - 0x32c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x328], ecx
cmp eax, ecx
je 0x10053546
mov esi, dword [ebp - 0x310]
mov edi, eax
nop dword [eax]
push edi
mov edx, 0x101ee7c4
lea ecx, [ebp - 0x37c]
call fcn.10030940
add esp, 4
mov byte [ebp - 4], 6
mov ecx, eax
push 2
push 0x101ee874
call fcn.100088d0
mov dword [ebp - 0x354], 0
xor ecx, ecx
mov dword [ebp - 0x350], 0
or esi, 1
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x364], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x354], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x310], esi
mov byte [ebp - 4], 7
lea eax, [edi + 0x18]
cmp dword [edi + 0x2c], 8
jb 0x100533ec
mov eax, dword [eax]
push dword [edi + 0x28]
lea ecx, [ebp - 0x364]
push eax
call fcn.100088d0
mov dword [ebp - 0x33c], 0
xor ecx, ecx
mov dword [ebp - 0x338], 0
or esi, 2
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x33c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x310], esi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34c]
push 2
push 0x101ee7c4
call fcn.100088d0
or esi, 4
mov dword [ebp - 0x290], 0
xor ecx, ecx
mov dword [ebp - 0x28c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2a0], xmm0
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [ebp - 0x310], esi
and esi, 0xfffffffd
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x290], xmm0
mov word [eax], cx
mov dword [ebp - 0x310], esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x34c]
call fcn.100049f0
and esi, 0xfffffffe
mov dword [ebp - 0x310], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x364]
call fcn.100049f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x37c]
call fcn.100049f0
cmp dword [ebp - 0x28c], 8
lea ecx, [ebp - 0x2a0]
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x2a0], eax
cmovae ecx, eax
push dword [ebp - 0x290]
push ecx
lea ecx, [ebp - 0x258]
call fcn.100088d0
and esi, 0xfffffffb
mov dword [ebp - 0x310], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a0]
call fcn.100049f0
add edi, 0x30
cmp edi, dword [ebp - 0x328]
jne 0x10053370
mov esi, dword [ebp - 0x334]
mov edi, dword [ebp - 0x21c]
mov dword [ebp - 0x300], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x258]
push dword [ebx + 0x10]
cmp dword [ebp - 0x244], 8
push dword [ebp - 0x308]
cmovae eax, dword [ebp - 0x258]
push dword [ebp - 0x248]
push eax
push dword [ebp - 0x320]
call fcn.100599f0
mov ecx, eax
call fcn.10059c20
test eax, eax
je 0x10053d5d
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp - 0x324]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x100535c0
mov ecx, dword [eax]
mov byte [ecx], 0
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x328], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x23c]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x320]
call fcn.100599f0
mov ecx, eax
call fcn.1005a060
test eax, eax
je 0x10053d5d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x308], ecx
cmp ecx, 0x200
jae 0x10053d6c
test ecx, ecx
je 0x100536df
mov edx, dword [ebp - 0x324]
mov byte [ebp + ecx - 0x218], 0
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x2fc], eax
mov eax, dword [edx + 0x14]
sub eax, dword [ebp - 0x2fc]
cmp ecx, eax
ja 0x100536c2
mov eax, dword [ebp - 0x2fc]
add eax, ecx
mov dword [ebp - 0x304], edx
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], eax
jb 0x10053687
mov eax, dword [edx]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x2fc]
add eax, dword [ebp - 0x304]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x304]
add esp, 0xc
add eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x308]
mov edi, dword [ebp - 0x21c]
mov byte [eax + ecx], 0
jmp 0x100536df
push ecx
lea eax, [ebp - 0x218]
mov byte [ebp - 0x300], 0
push eax
push dword [ebp - 0x300]
push ecx
mov ecx, edx
call fcn.1004d530
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x23c], 0
ja 0x100535d0
mov edi, dword [ebp - 0x318]
push ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
call fcn.1004d690
mov eax, dword [edi]
add esp, 4
mov dword [edi + 4], eax
mov eax, 0x200
mov dword [ebp - 0x2fc], eax
push 0x402
call fcn.1018be4d
mov edi, eax
mov dword [ebp - 0x240], 0
mov ecx, 0x200
add esp, 4
nop dword [eax + eax]
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x328], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x2bc]
push eax
push edi
push ecx
push dword [ebp - 0x320]
call fcn.100599f0
mov ecx, eax
call fcn.10059b80
test eax, eax
mov dword [ebp - 0x308], eax
setne byte [ebp - 0x309]
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x308], 0
jne 0x1005381d
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x2fc]
cmp eax, ecx
jbe 0x10053829
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1005381d
mov eax, dword [ebp - 0x2bc]
inc eax
push edi
mov dword [ebp - 0x2fc], eax
call fcn.1018bb4f
mov eax, dword [ebp - 0x2fc]
xor ecx, ecx
add esp, 4
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1018be4d
mov ecx, dword [ebp - 0x2fc]
mov edi, eax
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x240], eax
jmp 0x10053738
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 0x2fc]
cmp byte [ebp - 0x309], 0
je 0x10053cef
cmp eax, ecx
ja 0x10053740
xor ecx, ecx
mov word [edi + eax*2], cx
xor eax, eax
mov word [ebp - 0x288], ax
mov eax, edi
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x274], 7
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10053870
sub eax, edx
lea ecx, [ebp - 0x288]
sar eax, 1
push eax
push edi
call fcn.10004a60
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x278], 0
je 0x10053cd5
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x288]
push eax
push 0x3d
call fcn.10053e00
mov dword [ebp - 0x308], eax
cmp eax, 0xffffffff
je 0x10053989
push eax
push 0
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x288]
call fcn.10030850
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x238]
push eax
call fcn.100047b0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x37c]
call fcn.100049f0
mov eax, dword [ebp - 0x308]
inc eax
cmp eax, dword [ebp - 0x278]
jae 0x10053989
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x364]
push eax
lea ecx, [ebp - 0x288]
call fcn.10030850
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x288]
push eax
call fcn.100047b0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x364]
call fcn.100049f0
push 0
push 0x3b
lea ecx, [ebp - 0x288]
call fcn.10053e00
cmp eax, 0xffffffff
je 0x100539d3
push eax
push 0
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x288]
call fcn.10030850
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x270]
push eax
call fcn.100047b0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x34c]
call fcn.100049f0
jmp 0x100539f9
cmp dword [ebp - 0x274], 8
lea eax, [ebp - 0x288]
push dword [ebp - 0x278]
cmovae eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x270]
push eax
call fcn.10004a60
mov edx, str.__r_t_n
lea ecx, [ebp - 0x238]
call fcn.1009f140
mov edx, str.__r_t_n
lea ecx, [ebp - 0x238]
call fcn.1009f1d0
mov edx, str.__r_t_n
lea ecx, [ebp - 0x270]
call fcn.1009f140
mov edx, str.__r_t_n
lea ecx, [ebp - 0x270]
call fcn.1009f1d0
cmp dword [ebp - 0x228], 0
je 0x10053cb7
cmp dword [ebp - 0x260], 0
je 0x10053cb7
push str.http:__www.2345.com_
lea ecx, [ebp - 0x2a0]
call fcn.10004820
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x270]
cmp dword [ebp - 0x25c], 8
lea ecx, [ebp - 0x2a0]
push dword [ebp - 0x260]
cmovae eax, dword [ebp - 0x270]
push eax
call fcn.100088d0
mov eax, dword [ebp - 0x290]
xor ecx, ecx
add eax, 0x20
mov dword [ebp - 0x2f8], 0x3c
mov dword [ebp - 0x324], eax
mov edx, 2
mul edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x2f4], xmm0
movlpd qword [ebp - 0x2ec], xmm0
movlpd qword [ebp - 0x2e4], xmm0
movlpd qword [ebp - 0x2dc], xmm0
movlpd qword [ebp - 0x2d4], xmm0
seto cl
movlpd qword [ebp - 0x2cc], xmm0
neg ecx
movlpd qword [ebp - 0x2c4], xmm0
or ecx, eax
push ecx
call fcn.1018be4d
mov ecx, dword [ebp - 0x324]
add esp, 4
add ecx, ecx
mov dword [ebp - 0x2c4], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x324]
add esp, 0xc
dec eax
mov dword [ebp - 0x334], esi
mov dword [ebp - 0x2c0], 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 - 0x2f8]
cmp dword [ebp - 0x28c], 8
lea eax, [ebp - 0x2a0]
push ecx
cmovae eax, dword [ebp - 0x2a0]
push ecx
push dword [ebp - 0x290]
push eax
call fcn.100599f0
mov ecx, eax
call fcn.10059de0
mov dword [ebp - 0x308], eax
mov byte [ebp - 4], 0x18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x308], 0
je 0x10053c18
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2b8]
call fcn.10004820
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x2a8], 0
je 0x10053c09
cmp dword [ebp - 0x2a4], 8
lea eax, [ebp - 0x2b8]
lea ecx, [ebp - 0x2b8]
cmovae eax, dword [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.10043430
movups xmm0, xmmword [ebp - 0x2b8]
movups xmm1, xmmword [ebp - 0x270]
movq xmm2, qword [ebp - 0x260]
movups xmmword [ebp - 0x270], xmm0
movq xmm0, qword [ebp - 0x2a8]
movq qword [ebp - 0x260], xmm0
movups xmmword [ebp - 0x2b8], xmm1
movq qword [ebp - 0x2a8], xmm2
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2b8]
call fcn.100049f0
push dword [ebp - 0x2c4]
call fcn.1018bb4f
add esp, 4
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x3ac]
push eax
call fcn.100050f0
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x394]
call fcn.100050f0
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x318]
mov edx, dword [eax + 4]
cmp dword [eax + 8], edx
je 0x10053c7b
lea eax, [ebp - 0x3ac]
push eax
call fcn.1004e410
mov eax, dword [ebp - 0x318]
add esp, 4
add dword [eax + 4], 0x30
jmp 0x10053c8a
lea ecx, [ebp - 0x3ac]
push ecx
push edx
mov ecx, eax
call fcn.1004e4b0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x394]
call fcn.100049f0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x3ac]
call fcn.100049f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2a0]
call fcn.100049f0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x270]
call fcn.100049f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x238]
call fcn.100049f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x288]
call fcn.100049f0
mov ecx, dword [ebp - 0x2fc]
jmp 0x10053740
xor eax, eax
push edi
mov word [edi], ax
call fcn.1018bb4f
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.100049f0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x314]
mov edi, dword [ebp - 0x21c]
test eax, eax
je 0x10053d37
mov eax, dword [eax]
test eax, eax
je 0x10053d2d
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x220], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10053d59
mov eax, dword [edi]
test eax, eax
je 0x10053d4f
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x21c], 0
mov al, 1
jmp 0x10053dd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x32c]
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.100049f0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x314]
test eax, eax
je 0x10053dad
mov eax, dword [eax]
test eax, eax
je 0x10053da3
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x220], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10053dcf
mov eax, dword [edi]
test eax, eax
je 0x10053dc5
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x21c], 0
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.1018b774
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20