Function at 0x1004b690
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023e0ef
mov eax, dword fs:[0]
push eax
sub esp, 0x684
mov eax, dword [0x102db074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x102dfb48]
xor eax, eax
cmp dword [0x102dfb4c], 0x10
mov dword [ebp - 0x5f4], eax
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
mov eax, 0x102dfb38
cmovae eax, dword [0x102dfb38]
mov dword [ebp - 0x5d0], ecx
mov dword [ebp - 0x5e0], eax
cmp ecx, 0x10
jae 0x1004b721
movups xmm0, xmmword [eax]
mov dword [ebp - 0x434], ecx
or edi, 0xffffffff
mov dword [ebp - 0x430], 0xf
movups xmmword [ebp - 0x444], xmm0
jmp 0x1004b7a7
mov esi, ecx
mov eax, accept
or esi, 0xf
cmp esi, eax
cmova esi, eax
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x1004b762
lea eax, [ecx + 0x23]
or edi, 0xffffffff
cmp eax, ecx
cmovbe eax, edi
push eax
call fcn.1005a234
add esp, 4
test eax, eax
je 0x1004ca46
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1004b778
test ecx, ecx
je 0x1004b773
push ecx
call fcn.1005a234
add esp, 4
mov ecx, eax
jmp 0x1004b775
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [ebp - 0x5d0]
inc eax
mov dword [ebp - 0x444], ecx
push eax
push dword [ebp - 0x5e0]
push ecx
call fcn.10213e00
mov eax, dword [ebp - 0x5d0]
add esp, 0xc
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], 0
mov eax, 0x102dfb20
push dword [0x102dfb50]
cmp dword [0x102dfb34], 0x10
cmovae eax, dword [0x102dfb20]
push eax
push dword [0x102dfb54]
lea eax, [ebp - 0x414]
push str.app_id_dversion_sunion_id_d
push eax
call fcn.10057ef0
lea ecx, [ebp - 0x414]
add esp, 0x14
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b7f0
mov esi, dword [ebp - 0x430]
sub ecx, edx
mov edx, dword [ebp - 0x434]
mov eax, esi
sub eax, edx
mov dword [ebp - 0x5e0], ecx
push ecx
cmp ecx, eax
ja 0x1004b84c
lea eax, [edx + ecx]
cmp esi, 0x10
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
lea esi, [eax + edx]
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.102153d0
mov eax, dword [ebp - 0x5e0]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x1004b86c
lea eax, [ebp - 0x414]
mov byte [ebp - 0x5e0], 0
push eax
push dword [ebp - 0x5e0]
push ecx
lea ecx, [ebp - 0x444]
call fcn.10057d90
cmp dword [ebp - 0x430], 0x10
lea eax, [ebp - 0x444]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmovae eax, dword [ebp - 0x444]
push eax
call esi
push 0x102d5e00
call esi
push 0xb
push str.language:zh
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
call fcn.10057f30
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.1004cbf0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x44c], 0
jne 0x1004b9d7
mov edx, dword [ebp - 0x448]
cmp edx, 0x10
jb 0x1004b926
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004b91c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ca46
push edx
push ecx
call fcn.1005a226
add esp, 8
mov edx, dword [ebp - 0x478]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
cmp edx, 0x10
jb 0x1004b97b
mov ecx, dword [ebp - 0x48c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004b971
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ca4b
push edx
push ecx
call fcn.1005a226
add esp, 8
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
cmp edx, 0x10
jb 0x1004b9d0
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004b9c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ca50
push edx
push ecx
call fcn.1005a226
add esp, 8
xor al, al
jmp 0x1004ca2a
push str.result:
call esi
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
cmovae eax, dword [ebp - 0x45c]
push eax
call esi
push 0x102d5e00
call esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [ebp - 0x4c4], xmm0
mov word [ebp - 0x4b6], ax
movups xmmword [ebp - 0x4b4], xmm0
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x498], 0x400
mov byte [ebp - 4], 4
push 0x14
mov dword [ebp - 0x494], eax
mov dword [ebp - 0x490], eax
call fcn.1005a234
mov dword [ebp - 0x5fc], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0x10000
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4b0], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x45c]
cmp dword [ebp - 0x448], 0x10
lea ecx, [ebp - 0x4c4]
cmovae eax, dword [ebp - 0x45c]
push eax
call fcn.1004f4c0
cmp dword [ebp - 0x494], 0
je 0x1004baf3
push str.CfgServerMgr_HasParseError_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, dword [ebp - 0x4b0]
test edi, edi
je 0x1004bc91
cmp dword [edi], 0
je 0x1004bc6a
mov esi, dword [edi]
mov eax, esi
cmp eax, dword [edi + 8]
je 0x1004bc6a
mov esi, dword [eax + 8]
push eax
call fcn.1021bc27
add esp, 4
mov dword [edi], esi
test esi, esi
jne 0x1004bad1
jmp 0x1004bc6a
mov esi, dword [ebp - 0x4c4]
lea eax, [ebp - 0x5fc]
push str.params
shl esi, 5
lea ecx, [ebp - 0x4c4]
add esi, dword [ebp - 0x4bc]
push eax
call fcn.1004e040
cmp dword [eax], esi
jne 0x1004bb63
push str.CfgServerMgr_no_params
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, dword [ebp - 0x4b0]
test edi, edi
je 0x1004bc91
cmp dword [edi], 0
je 0x1004bc6a
mov esi, dword [edi]
mov eax, esi
cmp eax, dword [edi + 8]
je 0x1004bc6a
mov esi, dword [eax + 8]
push eax
call fcn.1021bc27
add esp, 4
mov dword [edi], esi
test esi, esi
jne 0x1004bb41
jmp 0x1004bc6a
push str.params
lea ecx, [ebp - 0x4c4]
call fcn.1004e800
mov dword [ebp - 0x5e0], eax
cmp word [eax + 0xe], 4
je 0x1004bbc6
push str.CfgServerMgr_params_is_not_array
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, dword [ebp - 0x4b0]
test edi, edi
je 0x1004bc91
cmp dword [edi], 0
je 0x1004bc6a
mov esi, dword [edi]
mov eax, esi
cmp eax, dword [edi + 8]
je 0x1004bc6a
mov esi, dword [eax + 8]
push eax
call fcn.1021bc27
add esp, 4
mov dword [edi], esi
test esi, esi
jne 0x1004bba4
jmp 0x1004bc6a
xor esi, esi
mov dword [ebp - 0x600], esi
cmp esi, dword [eax]
jae 0x1004bc40
lea ecx, [ebp - 0x5d8]
call fcn.1004e8a0
mov ecx, dword [ebp - 0x5e0]
mov eax, esi
shl eax, 4
push str.seckill_id
add eax, dword [ecx + 8]
lea ecx, [ebp - 0x688]
push ecx
mov ecx, eax
mov dword [ebp - 0x5cc], eax
mov esi, dword [eax]
shl esi, 5
add esi, dword [eax + 8]
call fcn.1004e040
cmp dword [eax], esi
jne 0x1004bce9
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x5d4]
test esi, esi
je 0x1004bc40
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1004bc40
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1004bc40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x4b0]
test edi, edi
je 0x1004bc91
cmp dword [edi], 0
je 0x1004bc6a
mov esi, dword [edi]
mov eax, esi
cmp eax, dword [edi + 8]
je 0x1004bc6a
mov esi, dword [eax + 8]
push eax
call fcn.1021bc27
add esp, 4
mov dword [edi], esi
test esi, esi
jne 0x1004bc51
mov eax, dword [edi]
test eax, eax
je 0x1004bc7c
cmp eax, dword [edi + 8]
jne 0x1004bc7c
mov dword [eax + 4], 0
push 1
push dword [edi + 0x10]
call fcn.1005a226
push 0x14
push edi
call fcn.1005a226
add esp, 0x10
push dword [ebp - 0x4a4]
call fcn.1021bc27
push 1
push dword [ebp - 0x4a8]
call fcn.1005a226
mov edx, dword [ebp - 0x448]
add esp, 0xc
cmp edx, 0x10
jb 0x1004c97e
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004c974
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ca55
jmp 0x1004c974
mov ecx, dword [ebp - 0x5cc]
push str.seckill_id
call fcn.1004e800
mov ecx, dword [ebp - 0x5d8]
push str.scene
mov eax, dword [eax]
mov dword [ecx + 0x70], eax
lea ecx, [ebp - 0x684]
mov eax, dword [ebp - 0x5cc]
push ecx
mov ecx, eax
mov esi, dword [eax]
shl esi, 5
add esi, dword [eax + 8]
call fcn.1004e040
cmp dword [eax], esi
jne 0x1004bd32
mov byte [ebp - 4], 8
jmp 0x1004bc18
mov ecx, dword [ebp - 0x5cc]
push str.scene
call fcn.1004e800
mov esi, eax
mov dword [ebp - 0x5f8], esi
cmp word [esi + 0xe], 4
je 0x1004bd5a
mov byte [ebp - 4], 9
jmp 0x1004bc18
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x5e4], eax
mov dword [ebp - 0x5f0], eax
mov dword [ebp - 0x5ec], eax
mov dword [ebp - 0x5dc], ecx
mov dword [ebp - 0x5e8], ecx
xor edx, edx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x5d0], edx
cmp dword [esi], edx
jbe 0x1004be0e
mov edi, dword [ebp - 0x5f8]
xor esi, esi
nop dword [eax + eax]
mov eax, dword [edi + 8]
mov edi, dword [ebp - 0x5ec]
mov eax, dword [esi + eax]
mov dword [ebp - 0x5dc], eax
cmp ecx, edi
je 0x1004bdc1
add dword [ebp - 0x5ec], 4
mov dword [edi], eax
jmp 0x1004bde5
lea eax, [ebp - 0x5dc]
push eax
push dword [ebp - 0x5ec]
lea ecx, [ebp - 0x5f0]
call fcn.1004eb40
mov ecx, dword [ebp - 0x5e8]
mov edx, dword [ebp - 0x5d0]
mov edi, dword [ebp - 0x5f8]
inc edx
add esi, 0x10
mov dword [ebp - 0x5d0], edx
cmp edx, dword [edi]
jb 0x1004bda0
mov eax, dword [ebp - 0x5f0]
or edi, 0xffffffff
mov dword [ebp - 0x5dc], ecx
mov dword [ebp - 0x5e4], eax
mov eax, dword [ebp - 0x5cc]
lea ecx, [ebp - 0x680]
push str.login
push ecx
mov ecx, eax
mov esi, dword [eax]
shl esi, 5
add esi, dword [eax + 8]
call fcn.1004e040
cmp dword [eax], esi
jne 0x1004be84
mov ecx, dword [ebp - 0x5e4]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x1004be7b
mov eax, dword [ebp - 0x5dc]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004be71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ca5a
push edx
push ecx
call fcn.1005a226
add esp, 8
mov byte [ebp - 4], 0xb
jmp 0x1004bc18
mov ecx, dword [ebp - 0x5cc]
push str.login
call fcn.1004e800
mov ecx, dword [ebp - 0x5d8]
push str.user_type
mov eax, dword [eax]
mov dword [ecx + 0x68], eax
lea ecx, [ebp - 0x67c]
mov eax, dword [ebp - 0x5cc]
push ecx
mov ecx, eax
mov esi, dword [eax]
shl esi, 5
add esi, dword [eax + 8]
call fcn.1004e040
cmp dword [eax], esi
jne 0x1004bf15
mov ecx, dword [ebp - 0x5e4]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x1004bf0c
mov eax, dword [ebp - 0x5dc]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004bf02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ca5f
push edx
push ecx
call fcn.1005a226
add esp, 8
mov byte [ebp - 4], 0xc
jmp 0x1004bc18
mov ecx, dword [ebp - 0x5cc]
push str.user_type
call fcn.1004e800
mov ecx, dword [ebp - 0x5d8]
push str.background_image
mov eax, dword [eax]
mov dword [ecx + 0x6c], eax
lea ecx, [ebp - 0x678]
mov eax, dword [ebp - 0x5cc]
push ecx
mov ecx, eax
mov esi, dword [eax]
shl esi, 5
add esi, dword [eax + 8]
call fcn.1004e040
cmp dword [eax], esi
jne 0x1004bfa6
mov ecx, dword [ebp - 0x5e4]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x1004bf9d
mov eax, dword [ebp - 0x5dc]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004bf93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ca64
push edx
push ecx
call fcn.1005a226
add esp, 8
mov byte [ebp - 4], 0xd
jmp 0x1004bc18
mov ecx, dword [ebp - 0x5cc]
push str.background_image
call fcn.1004e800
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x1004bfc4
mov eax, dword [eax + 8]
push ecx
push eax
lea ecx, [ebp - 0x5c8]
call fcn.1004d950
push dword [eax]
mov eax, dword [ebp - 0x5d8]
add eax, 0x74
push 0xf0
push eax
call fcn.1021ab48
mov eax, dword [ebp - 0x5c8]
lea ecx, [ebp - 0x5c4]
add esp, 0xc
cmp eax, ecx
je 0x1004c003
push eax
call fcn.1021bc27
add esp, 4
mov eax, dword [ebp - 0x5cc]
lea ecx, [ebp - 0x68c]
push str.frequency_limit
push ecx
mov ecx, eax
mov esi, dword [eax]
shl esi, 5
add esi, dword [eax + 8]
call fcn.1004e040
cmp dword [eax], esi
je 0x1004c046
mov ecx, dword [ebp - 0x5cc]
push str.frequency_limit
call fcn.1004e800
mov ecx, dword [ebp - 0x5d8]
mov eax, dword [eax]
mov dword [ecx + 0x254], eax
mov eax, dword [ebp - 0x5cc]
lea ecx, [ebp - 0x66c]
push str.time_limit
push ecx
mov ecx, eax
mov esi, dword [eax]
shl esi, 5
add esi, dword [eax + 8]
call fcn.1004e040
cmp dword [eax], esi
je 0x1004c089
mov ecx, dword [ebp - 0x5cc]
push str.time_limit
call fcn.1004e800
mov ecx, dword [ebp - 0x5d8]
mov eax, dword [eax]
mov dword [ecx + 0x258], eax
mov eax, dword [ebp - 0x5cc]
lea ecx, [ebp - 0x670]
push str.everyday_reset
push ecx
mov ecx, eax
mov esi, dword [eax]
shl esi, 5
add esi, dword [eax + 8]
call fcn.1004e040
cmp dword [eax], esi
je 0x1004c67c
mov ecx, dword [ebp - 0x5cc]
push str.everyday_reset
call fcn.1004e800
mov edx, eax
mov eax, 0x1000
test word [edx + 0xe], ax
jne 0x1004c0d2
mov edx, dword [edx + 8]
mov ecx, edx
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004c0f2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x474]
call fcn.10057f30
sub esp, 8
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x614]
call fcn.1004d6a0
push ecx
lea edx, [ebp - 0x614]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x474]
call fcn.1004e9b0
add esp, 4
test al, al
jne 0x1004c1e2
mov ecx, dword [ebp - 0x614]
test ecx, ecx
je 0x1004c15b
mov eax, edi
lock xadd dword [ecx + 0x20], eax
jne 0x1004c15b
mov ecx, dword [ebp - 0x614]
xor edx, edx
call fcn.1004b420
mov dword [ebp - 0x614], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x604]
test ecx, ecx
je 0x1004c186
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004c186
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
lea ecx, [ebp - 0x474]
call fcn.10058060
mov ecx, dword [ebp - 0x5e4]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x1004c1d9
mov eax, dword [ebp - 0x5dc]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004c1cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ca69
push edx
push ecx
call fcn.1005a226
add esp, 8
mov byte [ebp - 4], 0x12
jmp 0x1004bc18
xorps xmm0, xmm0
mov dword [ebp - 0x660], 0
mov byte [ebp - 0x65c], 0
movups xmmword [ebp - 0x658], xmm0
mov dword [ebp - 0x648], 0
mov byte [ebp - 0x644], 0
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x63c], 0
mov byte [ebp - 0x638], 0
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x630], 0
mov byte [ebp - 0x62c], 0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x474]
cmp dword [ebp - 0x460], 0x10
lea edi, [ebp - 0x474]
mov edx, dword [ebp - 0x474]
mov eax, dword [ebp - 0x464]
cmovae ecx, edx
cmovae edi, edx
add eax, ecx
cmp dword [ebp - 0x460], 0x10
lea ecx, [ebp - 0x474]
push edi
cmovae ecx, edx
lea edx, [ebp - 0x614]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x660]
call fcn.1004f150
add esp, 0x10
call fcn.10058dbd
push 0
push 0x989680
push edx
push eax
call fcn.10239a20
mov dword [ebp - 0x668], eax
lea eax, [ebp - 0x668]
push eax
mov dword [ebp - 0x664], edx
call fcn.1021ae3d
mov ecx, dword [ebp - 0x654]
add esp, 4
mov esi, dword [ebp - 0x658]
sub ecx, esi
mov dword [ebp - 0x5d0], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
lea eax, [ebp - 0x634]
jbe 0x1004c2f7
lea eax, [esi + 0xc]
cmp byte [eax + 8], 0
je 0x1004c304
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1004c308
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
cmp ecx, eax
je 0x1004c336
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.10057f30
mov eax, dword [ebp - 0x5f4]
or eax, 3
mov dword [ebp - 0x5f4], eax
mov byte [ebp - 4], 0x14
call fcn.1021bc09
cmp dword [ebp - 0x418], 0x10
lea esi, [ebp - 0x42c]
mov edi, eax
lea eax, [ebp - 0x618]
cmovae esi, dword [ebp - 0x42c]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.1021bab4
add esp, 0xc
cmp esi, dword [ebp - 0x618]
je 0x1004ca6e
cmp dword [edi], 0x22
je 0x1004ca91
mov ecx, dword [ebp - 0x5d0]
mov byte [ebp - 4], 0x13
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x42c]
call fcn.10058060
mov ecx, dword [ebp - 0x654]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x658]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
lea eax, [ebp - 0x634]
jbe 0x1004c3d5
lea eax, [esi + 0x18]
cmp byte [eax + 8], 0
je 0x1004c3e2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1004c3e6
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
cmp ecx, eax
je 0x1004c414
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.10057f30
mov byte [ebp - 4], 0x15
call fcn.1021bc09
cmp dword [ebp - 0x418], 0x10
lea esi, [ebp - 0x42c]
mov edi, eax
lea eax, [ebp - 0x61c]
cmovae esi, dword [ebp - 0x42c]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.1021bab4
add esp, 0xc
cmp esi, dword [ebp - 0x61c]
je 0x1004ca78
cmp dword [edi], 0x22
je 0x1004ca91
mov ecx, dword [ebp - 0x5d0]
mov byte [ebp - 4], 0x13
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x42c]
call fcn.10058060
mov ecx, dword [ebp - 0x654]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x658]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
lea eax, [ebp - 0x634]
jbe 0x1004c4a4
lea eax, [esi + 0x24]
cmp byte [eax + 8], 0
je 0x1004c4b1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1004c4b5
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
cmp ecx, eax
je 0x1004c4e3
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.10057f30
mov eax, dword [ebp - 0x5f4]
or eax, 0x3c
mov dword [ebp - 0x5f4], eax
mov byte [ebp - 4], 0x16
call fcn.1021bc09
cmp dword [ebp - 0x418], 0x10
lea esi, [ebp - 0x42c]
mov edi, eax
lea eax, [ebp - 0x628]
cmovae esi, dword [ebp - 0x42c]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.1021bab4
add esp, 0xc
cmp esi, dword [ebp - 0x628]
je 0x1004ca82
cmp dword [edi], 0x22
je 0x1004ca91
mov ecx, dword [ebp - 0x5d0]
mov byte [ebp - 4], 0x13
mov dword [ecx], eax
lea ecx, [ebp - 0x42c]
call fcn.10058060
cmp dword [ebp - 0x460], 0x10
lea eax, [ebp - 0x474]
push ecx
cmovae eax, dword [ebp - 0x474]
lea ecx, [ebp - 0x5c8]
push eax
call fcn.1004d950
push dword [eax]
mov eax, dword [ebp - 0x5d8]
add eax, 0x25c
push 0xf0
push eax
call fcn.1021ab48
mov eax, dword [ebp - 0x5c8]
lea ecx, [ebp - 0x5c4]
add esp, 0xc
cmp eax, ecx
je 0x1004c5aa
push eax
call fcn.1021bc27
add esp, 4
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0x658]
test esi, esi
je 0x1004c61c
mov ecx, dword [ebp - 0x650]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x1004c5f4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ca8c
push ecx
push esi
call fcn.1005a226
add esp, 8
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 0
mov ecx, dword [ebp - 0x614]
test ecx, ecx
je 0x1004c63f
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x1004c63f
mov ecx, dword [ebp - 0x614]
xor edx, edx
call fcn.1004b420
mov dword [ebp - 0x614], 0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x604]
test ecx, ecx
je 0x1004c66a
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004c66a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
lea ecx, [ebp - 0x474]
mov dword [ebp - 4], 0xa
call fcn.10058060
mov edi, dword [ebp - 0x5cc]
lea eax, [ebp - 0x674]
push str.interval_reset
push eax
mov ecx, edi
mov esi, dword [edi]
shl esi, 5
add esi, dword [edi + 8]
call fcn.1004e040
cmp dword [eax], esi
je 0x1004c774
push str.interval_reset
mov ecx, edi
call fcn.1004e800
mov esi, dword [ebp - 0x5d8]
mov eax, dword [eax]
test eax, eax
jle 0x1004c77a
mov dword [esi + 0x284], eax
jmp 0x1004c77a
mov esi, dword [ebp - 0x5d8]
mov ecx, dword [ebp - 0x5e4]
mov dword [ebp - 0x5d0], ecx
cmp ecx, dword [ebp - 0x5ec]
je 0x1004c8ce
lea ecx, [ebp - 0x624]
call fcn.1004e8a0
mov byte [ebp - 4], 0x1a
mov ecx, 0xb0
mov edx, dword [ebp - 0x624]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x5d0]
mov eax, dword [ecx]
mov dword [edx + 0x64], eax
mov edx, dword [0x102dfb58]
mov esi, edx
mov ecx, dword [ecx]
mov dword [ebp - 0x5f8], ecx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1004c7f1
cmp dword [eax + 0x10], ecx
jge 0x1004c7de
mov eax, dword [eax + 8]
jmp 0x1004c7e2
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1004c7d4
cmp esi, edx
je 0x1004c7f1
cmp ecx, dword [esi + 0x10]
jge 0x1004c82d
lea eax, [ebp - 0x5f8]
push ecx
mov dword [ebp - 0x5cc], eax
lea eax, [ebp - 0x5cc]
push eax
push ecx
mov ecx, 0x102dfb58
call fcn.10051e20
push eax
add eax, 0x10
mov ecx, 0x102dfb58
push eax
push esi
lea eax, [ebp - 0x5fc]
push eax
call fcn.10051e50
mov esi, dword [ebp - 0x5fc]
mov edi, dword [ebp - 0x620]
test edi, edi
je 0x1004c83b
lock inc dword [edi + 4]
mov eax, dword [ebp - 0x624]
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x5cc], ecx
mov dword [esi + 0x18], edi
or esi, 0xffffffff
mov byte [ebp - 4], 0x1b
test ecx, ecx
je 0x1004c87c
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x1004c87c
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x5cc]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x1004c87c
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1c
test edi, edi
je 0x1004c8a3
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1004c8a3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x1004c8a3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x5d0]
add eax, 4
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x5d8]
mov dword [ebp - 0x5d0], eax
cmp eax, dword [ebp - 0x5ec]
jne 0x1004c792
mov ecx, dword [ebp - 0x5e4]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x1004c92e
mov eax, dword [ebp - 0x5dc]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004c906
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004caa0
push edx
push ecx
call fcn.1005a226
add esp, 8
mov dword [ebp - 0x5f0], 0
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 0x5e8], 0
mov byte [ebp - 4], 0x1d
or edi, 0xffffffff
mov esi, dword [ebp - 0x5d4]
test esi, esi
je 0x1004c95e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1004c95e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1004c95e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x600]
mov byte [ebp - 4], 5
inc esi
mov eax, dword [ebp - 0x5e0]
jmp 0x1004bbc8
push edx
push ecx
call fcn.1005a226
add esp, 8
mov edx, dword [ebp - 0x478]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
cmp edx, 0x10
jb 0x1004c9d3
mov ecx, dword [ebp - 0x48c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004c9c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004caa5
push edx
push ecx
call fcn.1005a226
add esp, 8
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
cmp edx, 0x10
jb 0x1004ca28
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004ca1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004caaa
push edx
push ecx
call fcn.1005a226
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005a1f2
mov esp, ebp
pop ebp
ret
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
push str.invalid_stoi_argument
call fcn.10058d3d
push str.invalid_stoi_argument
call fcn.10058d3d
push str.invalid_stoi_argument
call fcn.10058d3d
call fcn.102179fc
push str.stoi_argument_out_of_range
call fcn.10058d7d
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
int3