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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10128e4f
mov eax, dword fs:[0]
push eax
sub esp, 0x38c
mov eax, dword [0x10182014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2f8], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2fc]
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x18]
push 4
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x318], edi
mov dword [ebp - 0x30c], ebx
mov dword [esi + 0x18], 0
call sym.SoftNotify.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x310], eax
call fcn.10025c90
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov dword [ebp - 0x304], eax
test eax, eax
je 0x1005ae6a
mov eax, dword [ebp - 0x2fc]
test eax, eax
je 0x1005a0fe
mov eax, dword [eax]
test eax, eax
je 0x1005a0f4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x2fc], 0
add esi, 0x20
mov dword [ebp - 0x308], 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 dword [ebp - 0x22c]
push 0
push 0
push ecx
push dword [ebp - 0x2f4]
push str.POST
push dword [ebp - 0x304]
call fcn.1006acd0
mov ecx, eax
call fcn.1006aed0
mov dword [ebp - 0x304], eax
mov byte [ebp - 4], 0
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call ecx
mov eax, dword [ebp - 0x304]
test eax, eax
je 0x1005ae6a
cmp byte [ebp + 0x1c], 0
je 0x1005a18c
push ecx
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x22c], 1
push ecx
push 0x41
push eax
call fcn.1006acd0
mov ecx, eax
call fcn.1006b6f0
push 4
lea ecx, [ebp - 0x300]
call sym.SoftNotify.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
push dword [ebp - 0x310]
lea ecx, [ebp - 0x300]
call fcn.10025c90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2f8]
mov eax, dword [ebp - 0x304]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x300]
test eax, eax
je 0x1005a1de
mov eax, dword [eax]
test eax, eax
je 0x1005a1d4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x300], 0
push 0x3e
xor eax, eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x244]
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
call fcn.100044e0
mov byte [ebp - 4], 3
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x1005a34a
push 2
push 0x1014e6a0
lea ecx, [ebp - 0x244]
call fcn.1000b9f0
push 8
push 0x1014e72c
lea ecx, [ebp - 0x244]
call fcn.1000b9f0
xor ecx, ecx
mov eax, 0x2aaaaaab
mov dword [ebp - 0x2f4], ecx
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1005a34a
mov edi, dword [ebx]
xor esi, esi
nop dword [eax]
mov edx, dword [esi + edi + 0x10]
lea eax, [esi + edi]
mov dword [ebp - 0x22c], edx
lea ecx, [eax + 0x18]
cmp dword [ebp - 0x22c], 0
mov edx, edi
mov dword [ebp - 0x310], ecx
je 0x1005a311
add ecx, 0x10
mov dword [ebp - 0x320], ecx
cmp dword [ecx], 0
je 0x1005a311
cmp dword [eax + 0x14], 8
jb 0x1005a2b7
mov eax, dword [eax]
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x244]
push eax
call fcn.1000b9f0
push 1
push 0x1014e728
lea ecx, [ebp - 0x244]
call fcn.1000b9f0
mov eax, dword [ebp - 0x310]
cmp dword [eax + 0x14], 8
jb 0x1005a2e9
mov eax, dword [eax]
mov ecx, dword [ebp - 0x320]
push dword [ecx]
lea ecx, [ebp - 0x244]
push eax
call fcn.1000b9f0
push 1
push 0x101437d4
lea ecx, [ebp - 0x244]
call fcn.1000b9f0
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
mov edi, edx
inc dword [ebp - 0x2f4]
sub ecx, edx
mov eax, 0x2aaaaaab
add esi, 0x30
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f4], eax
jb 0x1005a280
mov esi, dword [ebp - 0x308]
mov edi, dword [ebp - 0x318]
cmp byte [ebp + 0x1c], 0
lea ecx, [ebp - 0x244]
je 0x1005a35f
push 0x19
push str._r_nAccept_Encoding:_gzip_r_n
jmp 0x1005a366
push 4
push str._r_n_r_n
call fcn.1000b9f0
mov ebx, dword [ebp - 0x31c]
cmp dword [ebx + 0x10], 0
je 0x1005a410
push 0x12
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
lea ecx, [ebp - 0x228]
push 0x1014e678
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
call fcn.100044e0
mov byte [ebp - 4], 4
mov eax, ebx
cmp dword [eax + 0x14], 8
jb 0x1005a3cc
mov eax, dword [eax]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x228]
push eax
call fcn.1000b9f0
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push dword [ebp - 0x218]
cmovae eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x244]
push eax
call fcn.1000b9f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x228]
call fcn.10004480
mov eax, dword [ebp - 0x2f8]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
cmp ebx, eax
je 0x1005a501
mov edi, eax
nop word [eax + eax]
push ebx
mov edx, 0x1014e6a0
lea ecx, [ebp - 0x338]
call fcn.100134c0
add esp, 4
mov byte [ebp - 4], 5
mov edx, eax
push 0x1014e670
lea ecx, [ebp - 0x228]
call fcn.1002bde0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x18]
push ecx
mov edx, eax
lea ecx, [ebp - 0x2ac]
call fcn.1002cf20
add esp, 4
mov byte [ebp - 4], 7
mov edx, eax
push 0x1014e6a0
lea ecx, [ebp - 0x294]
call fcn.1002bde0
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2ac]
call fcn.10004480
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x228]
call fcn.10004480
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x338]
call fcn.10004480
cmp dword [ebp - 0x280], 8
lea eax, [ebp - 0x294]
push dword [ebp - 0x284]
cmovae eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x244]
push eax
call fcn.1000b9f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x294]
call fcn.10004480
add ebx, 0x30
cmp ebx, edi
jne 0x1005a430
mov edi, dword [ebp - 0x318]
mov dword [ebp - 0x308], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push eax
push esi
call ebx
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x244]
push dword [ebp + 0x10]
cmp dword [ebp - 0x230], 8
push dword [ebp - 0x314]
cmovae eax, dword [ebp - 0x244]
push dword [ebp - 0x234]
push eax
push dword [ebp - 0x304]
call fcn.1006acd0
mov ecx, eax
call fcn.1006b160
test eax, eax
je 0x1005ae34
mov byte [ebp - 4], 3
push 0
push esi
call ebx
cmp byte [ebp + 0x1c], 0
mov byte [ebp - 0x2ed], 0
je 0x1005a5db
mov edx, dword [ebp - 0x304]
lea ecx, [ebp - 0x294]
call fcn.100597b0
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x2ac]
call fcn.1006c290
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2ac]
cmp dword [ebp - 0x298], 8
mov edx, str.gzip
cmovae ecx, dword [ebp - 0x2ac]
call fcn.100b0dd0
mov byte [ebp - 0x2ed], al
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2ac]
call fcn.10004480
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x294]
call fcn.10004480
mov ecx, edi
call fcn.1004a7e0
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x308], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call ebx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x248]
push eax
push 0x1ff
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x304]
call fcn.1006acd0
mov ecx, eax
call fcn.1006b650
test eax, eax
je 0x1005ae34
push 0
push esi
call ebx
mov ebx, dword [ebp - 0x248]
cmp ebx, 0x200
jae 0x1005ae25
test ebx, ebx
je 0x1005a6b8
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
mov byte [ebp + ebx - 0x210], 0
cmp ebx, eax
ja 0x1005a69b
lea eax, [ebx + ecx]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x1005a67b
mov eax, dword [edi]
lea edi, [eax + ecx]
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov byte [ebx + edi], 0
add esp, 0xc
mov edi, dword [ebp - 0x318]
jmp 0x1005a6b8
push ebx
lea eax, [ebp - 0x210]
mov byte [ebp - 0x314], 0
push eax
push dword [ebp - 0x314]
mov ecx, edi
push ebx
call fcn.10011600
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call ebx
cmp dword [ebp - 0x248], 0
ja 0x1005a5f0
cmp byte [ebp - 0x2ed], 0
je 0x1005a7b1
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x228]
mov ecx, edi
call fcn.100599f0
test al, al
je 0x1005a8e5
lea ecx, [ebp - 0x228]
call fcn.10026f10
cmp edi, eax
je 0x1005a756
cmp dword [ebp - 0x214], 0x10
mov eax, ecx
push dword [ebp - 0x218]
cmovae eax, dword [ebp - 0x228]
mov ecx, edi
push eax
call fcn.10007c50
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x214]
cmp edx, 0x10
jb 0x1005a796
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a78c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a78c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101177a0
add esp, 8
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
mov ebx, dword [ebp - 0x30c]
push ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
call fcn.1000bae0
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebp - 0x2f8], 0x200
push 0x402
call fcn.10117d14
mov edi, eax
mov dword [ebp - 0x24c], 0
mov ecx, 0x200
mov dword [ebp - 0x2f4], edi
add esp, 4
nop dword [eax + eax]
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x314], 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 - 0x24c]
push eax
lea eax, [ebp - 0x2b0]
push eax
push edi
push 0x2b
push dword [ebp - 0x304]
call fcn.1006acd0
mov ecx, eax
call fcn.1006b020
mov edi, eax
test edi, edi
setne byte [ebp - 0x2ed]
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test edi, edi
jne 0x1005a959
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2f8]
cmp eax, ecx
jbe 0x1005a965
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1005a959
mov edi, dword [ebp - 0x2b0]
mov eax, dword [ebp - 0x2f4]
inc edi
push eax
mov dword [ebp - 0x2f8], edi
call fcn.10117b14
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.10117d14
mov ecx, dword [ebp - 0x2f8]
mov edi, eax
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x24c], eax
jmp 0x1005a7ef
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x18], 0x2f8f
mov ecx, edi
call fcn.1004a7e0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x214]
cmp edx, 0x10
jb 0x1005a939
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a92f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a92f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.101177a0
add esp, 8
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
jmp 0x1005ae4c
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2f8]
cmp byte [ebp - 0x2ed], 0
je 0x1005addd
mov edi, dword [ebp - 0x2f4]
cmp eax, ecx
ja 0x1005a800
xor ecx, ecx
mov word [edi + eax*2], cx
xor eax, eax
mov word [ebp - 0x264], ax
mov eax, edi
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x250], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1005a9b0
sub eax, edx
lea ecx, [ebp - 0x264]
sar eax, 1
push eax
push edi
call fcn.100044e0
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x254], 0
je 0x1005adc3
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x264]
push eax
push 0x3d
call fcn.10026e50
mov dword [ebp - 0x30c], eax
cmp eax, 0xffffffff
je 0x1005aac9
push eax
push 0
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x264]
call fcn.1002c970
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x228]
push eax
call fcn.10007250
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x338]
call fcn.10004480
mov eax, dword [ebp - 0x30c]
inc eax
cmp eax, dword [ebp - 0x254]
jae 0x1005aac9
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x380]
push eax
lea ecx, [ebp - 0x264]
call fcn.1002c970
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x264]
push eax
call fcn.10007250
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x380]
call fcn.10004480
push 0
push 0x3b
lea ecx, [ebp - 0x264]
call fcn.10026e50
cmp eax, 0xffffffff
je 0x1005ab13
push eax
push 0
lea eax, [ebp - 0x398]
push eax
lea ecx, [ebp - 0x264]
call fcn.1002c970
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x27c]
push eax
call fcn.10007250
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x398]
call fcn.10004480
jmp 0x1005ab39
cmp dword [ebp - 0x250], 8
lea eax, [ebp - 0x264]
push dword [ebp - 0x254]
cmovae eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x27c]
push eax
call fcn.100044e0
mov edx, 0x1014a724
lea ecx, [ebp - 0x228]
call fcn.100b0f10
mov edx, 0x1014a724
lea ecx, [ebp - 0x228]
call fcn.100b0fa0
mov edx, 0x1014a724
lea ecx, [ebp - 0x27c]
call fcn.100b0f10
mov edx, 0x1014a724
lea ecx, [ebp - 0x27c]
call fcn.100b0fa0
cmp dword [ebp - 0x218], 0
je 0x1005ada5
cmp dword [ebp - 0x26c], 0
je 0x1005ada5
push str.http:__www.2345.com_
lea ecx, [ebp - 0x294]
call fcn.10004430
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x27c]
cmp dword [ebp - 0x268], 8
lea ecx, [ebp - 0x294]
push dword [ebp - 0x26c]
cmovae eax, dword [ebp - 0x27c]
push eax
call fcn.1000b9f0
mov edi, dword [ebp - 0x284]
xor ecx, ecx
add edi, 0x20
mov dword [ebp - 0x2ec], 0x3c
mov eax, edi
mov edx, 2
mul edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x2e8], xmm0
movlpd qword [ebp - 0x2e0], xmm0
movlpd qword [ebp - 0x2d8], xmm0
movlpd qword [ebp - 0x2d0], xmm0
movlpd qword [ebp - 0x2c8], xmm0
seto cl
movlpd qword [ebp - 0x2c0], xmm0
neg ecx
movlpd qword [ebp - 0x2b8], xmm0
or ecx, eax
push ecx
call fcn.10117d14
add esp, 4
mov dword [ebp - 0x2b8], eax
lea ecx, [edi + edi]
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x308], esi
lea eax, [edi - 1]
mov dword [ebp - 0x2b4], 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 - 0x2ec]
cmp dword [ebp - 0x280], 8
lea eax, [ebp - 0x294]
push ecx
cmovae eax, dword [ebp - 0x294]
push ecx
push dword [ebp - 0x284]
push eax
call fcn.1006acd0
mov ecx, eax
call fcn.1006b330
mov edi, eax
mov byte [ebp - 4], 0x18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test edi, edi
je 0x1005ad13
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2ac]
call fcn.10004430
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x29c], 0
je 0x1005ad04
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.100283d0
lea ecx, [ebp - 0x2ac]
push dword [eax]
lea eax, [ebp - 0x310]
push eax
call fcn.10036f90
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x27c]
call fcn.10026ea0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2ac]
call fcn.10004480
push dword [ebp - 0x2b8]
call fcn.10117b14
add esp, 4
lea eax, [ebp - 0x228]
lea ecx, [ebp - 0x368]
push eax
call fcn.10007920
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x350]
call fcn.10007920
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x368]
mov edx, dword [ebx + 4]
push eax
cmp dword [ebx + 8], edx
je 0x1005ad6a
call fcn.10050f10
add esp, 4
add dword [ebx + 4], 0x30
jmp 0x1005ad72
push edx
mov ecx, ebx
call fcn.1005aea0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x350]
call fcn.10004480
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x368]
call fcn.10004480
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x294]
call fcn.10004480
mov edi, dword [ebp - 0x2f4]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x27c]
call fcn.10004480
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x228]
call fcn.10004480
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.10004480
mov ecx, dword [ebp - 0x2f8]
jmp 0x1005a800
mov eax, dword [ebp - 0x2f4]
xor ecx, ecx
push eax
mov word [eax], cx
call fcn.10117b14
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.10004480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x300]
call fcn.10025cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2fc]
call fcn.10025cc0
mov al, 1
jmp 0x1005ae7e
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x1005ae4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 3
push 0
push esi
call ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.10004480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x300]
call fcn.10025cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2fc]
call fcn.10025cc0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011730d
mov esp, ebp
pop ebp
ret 0x20