Function at 0x406050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50a9f6
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54b708]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov byte [ecx + 0x7c], 1
call fcn.00408810
xor ebp, ebp
cmp eax, ebp
je 0x40609b
add eax, 8
jmp 0x40609d
xor eax, eax
push ebp
push eax
push ebp
call fcn.0041b600
add esp, 0xc
mov dword [esp + 0x40], eax
call fcn.00408270
cmp eax, ebp
je 0x4060ba
add eax, 8
jmp 0x4060bc
xor eax, eax
push ebp
push eax
push ebp
call fcn.0041b600
add esp, 0xc
mov dword [esp + 0x3c], eax
call fcn.00408810
cmp eax, ebp
je 0x4060d9
add eax, 8
jmp 0x4060db
xor eax, eax
cmp eax, ebp
mov ebx, vtable.s::col::list::ListP.1.0
mov edi, vtable.s::col::list::ListP.2.0
mov esi, vtable.s::col::list::ListP.3.0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov byte [esp + 0x68], 2
mov dword [esp + 0x48], vtable.s::col::list::ListP.0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x6c], ebp
je 0x40611f
mov dword [esp + 0x6c], eax
mov dword [esp + 0x100], ebp
call fcn.00408270
cmp eax, ebp
je 0x406134
add eax, 8
jmp 0x406136
xor eax, eax
cmp eax, ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
mov byte [esp + 0x9c], 2
mov dword [esp + 0x7c], vtable.s::col::list::ListP.0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov dword [esp + 0xa0], ebp
je 0x406189
mov dword [esp + 0xa0], eax
mov byte [esp + 0x100], 1
call fcn.0040a730
mov esi, eax
lea edi, [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
cmp dword [eax + 0x20], ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jbe 0x4061c6
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ecx*4]
call edi
mov dword [esp + 0x74], esi
jmp 0x4061d1
call edi
mov ecx, dword [esi + 0x3c]
call ecx
mov dword [esp + 0x74], eax
call fcn.0040a730
mov ebx, eax
lea esi, [ebx + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x34]
cmp dword [eax + 0x20], ebp
push esi
jbe 0x406200
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov ebx, dword [edx + ecx*4]
call edi
mov dword [esp + 0x78], ebx
jmp 0x40620b
call edi
mov eax, dword [ebx + 0x3c]
call eax
mov dword [esp + 0x78], eax
call fcn.0040a730
mov ebx, eax
lea esi, [ebx + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x34]
cmp dword [eax + 0x20], ebp
push esi
jbe 0x40623d
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov ebx, dword [edx + ecx*4]
call edi
mov dword [esp + 0xb0], ebx
jmp 0x40624b
call edi
mov eax, dword [ebx + 0x3c]
call eax
mov dword [esp + 0xb0], eax
call fcn.0041a7e0
mov edx, dword [eax]
mov dword [esp + 0xcc], eax
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x7d], 0
mov cl, byte [eax + 0x59]
mov byte [esp + 0x44], cl
mov dword [esp + 0xd0], ebp
jne 0x407af3
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 0x44]
cmp dl, byte [eax + 0x59]
mov byte [esp + 0x17], 0
mov byte [esp + 0x2b], 0
mov byte [esp + 0x23], 0
je 0x4066ea
mov ecx, dword [eax + 0x6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
mov byte [esp + 0x23], 1
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x188]
push 1
call eax
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0041b1a0
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], 0
call eax
test eax, eax
jbe 0x406553
mov byte [esp + 0x17], 1
lea ebx, [ebx]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x1c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov esi, dword [edx + eax*4]
cmp byte [ecx + 0x59], 0
mov edx, dword [esi]
mov ecx, esi
je 0x406314
mov eax, dword [edx + 0xac]
jmp 0x406317
mov eax, dword [edx + 0x50]
call eax
mov ebp, eax
call fcn.0040a730
mov edi, eax
lea ebx, [edi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x34]
cmp dword [eax + 0x20], 0
push ebx
jbe 0x40634b
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov edi, dword [edx + ecx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x406358
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x3c]
call eax
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x200]
push ebp
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
mov dword [esp + 0x30], edi
call eax
mov edi, eax
mov eax, dword [edi + 8]
test eax, eax
je 0x40641d
cmp byte [edi + 0x24], 0
jne 0x40641d
cmp dword [eax + 0x98], 0
mov ebp, dword [edi + 0x20]
je 0x4063b5
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
mov edx, dword [edx + 0x154]
push ecx
push 6
push ebp
push edi
mov ecx, eax
call edx
jmp 0x40641d
mov ebx, dword [eax + 0x94]
cmp byte [ebx + 0x68], 0
mov eax, dword [edi]
mov ecx, edi
je 0x4063ca
mov edx, dword [eax + 0x18]
jmp 0x4063cd
mov edx, dword [eax + 0x14]
call edx
cmp dword [ebx + 0x50], 0
je 0x40641d
push eax
call fcn.0041bab0
cmp dword [eax], 0
je 0x40641d
cmp dword [edi + 0x20], ebp
jne 0x40641d
mov eax, dword [edi + 0x1c]
mov edi, dword [eax + 0x18]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x4063fd
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [edi + 0x14]
push eax
call edx
mov eax, dword [esp + 0x30]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x40641d
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx + 4]
call eax
mov dword [edi + 0x10], 0
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x59], 0
mov edx, dword [esi]
mov ecx, esi
je 0x406433
mov eax, dword [edx + 0x9c]
jmp 0x406436
mov eax, dword [edx + 0x38]
call eax
mov ebp, eax
call fcn.0040a730
mov edi, eax
lea ebx, [edi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x34]
cmp dword [eax + 0x20], 0
push ebx
jbe 0x40646a
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov edi, dword [edx + ecx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x406477
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x3c]
call eax
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x200]
push ebp
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
mov ebp, edi
call eax
mov edi, eax
mov eax, dword [edi + 8]
test eax, eax
je 0x406531
cmp byte [edi + 0x24], 0
jne 0x406531
cmp dword [eax + 0x98], 0
mov esi, dword [edi + 0x20]
je 0x4064ce
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
push ebp
push 4
push esi
mov ecx, eax
mov eax, dword [edx + 0x154]
push edi
call eax
jmp 0x406531
mov ebx, dword [eax + 0x94]
cmp byte [ebx + 0x68], 0
mov edx, dword [edi]
mov ecx, edi
je 0x4064e3
mov eax, dword [edx + 0x18]
jmp 0x4064e6
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebx + 0x50], 0
je 0x406531
push eax
call fcn.0041bab0
cmp dword [eax], 0
je 0x406531
cmp dword [edi + 0x20], esi
jne 0x406531
mov ecx, dword [edi + 0x1c]
mov esi, dword [ecx + 0x10]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x406516
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esi + 0x14]
push eax
call edx
mov eax, dword [esi + 0x10]
test eax, eax
mov dword [esi + 0x14], ebp
je 0x406531
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
add esi, 1
mov dword [esp + 0x2c], esi
call edx
cmp esi, eax
jb 0x4062f0
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
lea ecx, [esi + 8]
call edx
mov eax, dword [esp + 0x3c]
push eax
call fcn.0041b1a0
mov edx, dword [eax]
mov dword [esp + 0x2c], eax
mov ecx, eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x30], 0
call eax
test eax, eax
jbe 0x4066d0
mov byte [esp + 0x17], 1
lea ebx, [ebx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov esi, dword [edx + eax*4]
cmp byte [ecx + 0x59], 0
mov edx, dword [esi]
mov ecx, esi
je 0x4065b4
mov eax, dword [edx + 0x9c]
jmp 0x4065b7
mov eax, dword [edx + 0x38]
call eax
mov ebp, eax
call fcn.0040a730
mov edi, eax
lea ebx, [edi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x34]
cmp dword [eax + 0x20], 0
push ebx
jbe 0x4065eb
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov edi, dword [edx + ecx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4065f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x3c]
call eax
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x200]
push ebp
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
mov ebp, edi
call eax
mov edi, eax
mov eax, dword [edi + 8]
test eax, eax
je 0x4066b2
cmp byte [edi + 0x24], 0
jne 0x4066b2
cmp dword [eax + 0x98], 0
mov esi, dword [edi + 0x20]
je 0x40664f
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
push ebp
push 4
push esi
mov ecx, eax
mov eax, dword [edx + 0x154]
push edi
call eax
jmp 0x4066b2
mov ebx, dword [eax + 0x94]
cmp byte [ebx + 0x68], 0
mov edx, dword [edi]
mov ecx, edi
je 0x406664
mov eax, dword [edx + 0x18]
jmp 0x406667
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebx + 0x50], 0
je 0x4066b2
push eax
call fcn.0041bab0
cmp dword [eax], 0
je 0x4066b2
cmp dword [edi + 0x20], esi
jne 0x4066b2
mov ecx, dword [edi + 0x1c]
mov esi, dword [ecx + 0x10]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x406697
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esi + 0x14]
push eax
call edx
mov eax, dword [esi + 0x10]
test eax, eax
mov dword [esi + 0x14], ebp
je 0x4066b2
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
add esi, 1
mov dword [esp + 0x30], esi
call edx
cmp esi, eax
jb 0x406590
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 4]
add ecx, 8
call edx
mov eax, dword [esp + 0x18]
mov cl, byte [eax + 0x59]
mov byte [esp + 0x44], cl
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov edx, dword [ebp + 0x70]
mov eax, dword [ebx + 0x70]
mov dword [esp + 0xe0], edx
mov dword [esp + 0xdc], eax
call fcn.0043c100
mov esi, eax
mov dword [esp + 0xd4], esi
call fcn.0043c4c0
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0xd8], edi
call eax
push esi
push ebp
mov dword [esp + 0x3c], eax
call fcn.0041b460
push edi
push ebx
mov dword [esp + 0x78], eax
call fcn.0041b460
push ebp
push esi
mov dword [esp + 0x34], eax
call fcn.0041b460
push ebx
mov esi, eax
push edi
mov dword [esp + 0x24], esi
call fcn.0041b460
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x30]
mov ecx, esi
mov dword [esp + 0x30], edi
call eax
test eax, eax
ja 0x40677e
mov edx, dword [edi]
mov eax, dword [edx + 0x30]
mov ecx, edi
call eax
test eax, eax
jbe 0x4067ae
cmp byte [esp + 0x23], 0
mov byte [esp + 0x17], 1
jne 0x4067ae
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
mov byte [esp + 0x23], 1
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x188]
push 1
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
mov dword [esp + 0x38], 0
call eax
test eax, eax
jbe 0x40692e
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x1c]
mov eax, dword [esp + 0x38]
mov edi, dword [edx + eax*4]
mov edx, dword [edi]
mov eax, dword [edx + 0x90]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xa0]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xbc]
mov ecx, edi
call eax
mov edx, dword [edi]
mov esi, dword [esp + 0x34]
mov eax, dword [edx + 0xc4]
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xcc]
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [esp + 0x44]
mov edx, dword [edx + 0xe8]
push eax
mov ecx, edi
call edx
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
call edx
mov ecx, dword [esi + 0x6c]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
call edx
mov esi, dword [ebx]
add esi, 0x168
call fcn.00415d70
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
cmp byte [ebp + 0x68], 0
mov edx, dword [edi]
mov ecx, edi
je 0x40686f
mov eax, dword [edx + 0x18]
jmp 0x406872
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebp + 0x50], 0
mov dword [esp + 0xc0], eax
mov eax, dword [ebp + 0x6c]
jne 0x40688d
mov esi, ebp
call fcn.0041ae20
jmp 0x4068a5
mov ecx, dword [eax*4 + 0x523100]
shr ecx, 1
cmp dword [ebp + 0x70], ecx
jb 0x4068a5
add eax, 1
mov ecx, ebp
call fcn.0041aea0
mov edx, dword [esp + 0xc0]
push edx
mov ebx, ebp
call fcn.0041bab0
cmp dword [eax], 0
mov dword [esp + 0x24], eax
jne 0x406910
call fcn.0041b9f0
mov esi, eax
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
cmp dword [eax + 0x20], 0
push ebx
jbe 0x4068ef
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x4068fa
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x3c]
call ecx
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x24]
mov dword [eax], edx
mov dword [eax + 4], edi
mov dword [ecx], eax
add dword [ebp + 0x70], 1
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
add esi, 1
mov dword [esp + 0x38], esi
call eax
cmp esi, eax
jb 0x4067cb
mov esi, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
lea ecx, [esi + 8]
call eax
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x90], 0
je 0x4069e3
mov eax, dword [esp + 0x6c]
xor ebx, ebx
cmp eax, ebx
je 0x40696a
lea esi, [esp + 0x48]
call fcn.0041e130
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x406983
push eax
call fcn.004b9750
add esp, 4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0xa0]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebx
je 0x4069a5
lea esi, [esp + 0x7c]
call fcn.0041e130
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x4069cb
push eax
call fcn.004b9750
mov esi, dword [esp + 0x60]
add esp, 4
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x98], ebx
xor edx, edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ebx
mov byte [edi + 0x90], dl
jmp 0x4069ee
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x90]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x60]
lea ecx, [ebx + ebp]
cmp ecx, dword [edi + 0x8c]
jb 0x406b91
test ebx, ebx
jbe 0x406b1e
test ebp, ebp
jbe 0x406ae1
mov eax, dword [esp + 0x64]
cmp esi, eax
jb 0x406a22
sub esi, eax
mov cl, byte [esp + 0x68]
mov eax, dword [esp + 0x58]
shl esi, cl
mov edi, dword [esi + eax]
mov eax, dword [esp + 0x98]
cmp edx, eax
jb 0x406a3c
sub edx, eax
mov cl, byte [esp + 0x9c]
shl edx, cl
mov ecx, dword [esp + 0x8c]
mov esi, dword [edx + ecx]
mov edx, dword [esi]
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
mov ebx, edx
mov edx, dword [edi]
mov ebp, eax
mov eax, dword [edx + 0x84]
mov ecx, edi
call eax
cmp edx, ebx
jg 0x406aa5
jl 0x406a75
cmp eax, ebp
jae 0x406aa5
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x60], 1
add eax, 1
mov ecx, eax
sub ecx, dword [esp + 0x64]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esp + 0x5c], ecx
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
lea ecx, [edi + 4]
call eax
mov edi, dword [esp + 0x18]
jmp 0x406b6c
mov eax, dword [esp + 0x90]
sub dword [esp + 0x94], 1
add eax, 1
mov ecx, eax
sub ecx, dword [esp + 0x98]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esp + 0x90], ecx
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea ecx, [esi + 4]
call eax
mov edi, dword [esp + 0x18]
jmp 0x406b6c
mov edx, dword [esp + 0x64]
cmp esi, edx
mov eax, esi
jb 0x406aed
sub eax, edx
mov cl, byte [esp + 0x68]
shl eax, cl
mov ecx, dword [esp + 0x58]
sub ebx, 1
mov eax, dword [eax + ecx]
lea ecx, [esi + 1]
mov esi, ecx
sub esi, edx
neg esi
sbb esi, esi
and esi, ecx
lea ecx, [eax + 4]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], esi
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x406b6c
test ebp, ebp
jbe 0x406b77
mov esi, dword [esp + 0x98]
cmp edx, esi
mov eax, edx
jb 0x406b31
sub eax, esi
mov cl, byte [esp + 0x9c]
shl eax, cl
mov ecx, dword [esp + 0x8c]
sub ebp, 1
mov eax, dword [eax + ecx]
lea ecx, [edx + 1]
mov edx, ecx
sub edx, esi
neg edx
sbb edx, edx
and edx, ecx
lea ecx, [eax + 4]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ebp
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x60]
lea eax, [ebx + ebp]
cmp eax, dword [edi + 0x8c]
jae 0x406a08
cmp byte [edi + 0x91], 0
mov ebp, dword [esp + 0x70]
jne 0x406ce3
mov edx, dword [ebp]
mov eax, dword [edx + 0x30]
mov ecx, ebp
mov dword [esp + 0x1c], 0
call eax
test eax, eax
jbe 0x406cd9
mov byte [esp + 0x2b], 1
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x1c]
mov edi, dword [ecx + edx*4]
mov eax, dword [edi]
mov esi, dword [esp + 0x34]
mov edx, dword [eax + 0xc4]
push esi
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xcc]
push esi
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc0]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xb8]
mov ecx, edi
call edx
lea eax, [esp + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
push ecx
push eax
call fcn.00448190
mov esi, dword [edi]
add esp, 8
push edx
mov edx, dword [esi + 0x80]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x44]
mov eax, dword [edi]
mov edx, dword [eax + 0xe8]
push ecx
mov ecx, edi
call edx
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
call edx
mov ecx, dword [esi + 0x70]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
call edx
mov esi, dword [ebx]
add esi, 0x168
call fcn.004161f0
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jne 0x406c97
lea eax, [esp + 0x48]
call fcn.00412980
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
lea edx, [eax + esi]
cmp edx, ecx
jb 0x406ca8
sub eax, ecx
add eax, esi
jmp 0x406caa
mov eax, edx
mov cl, byte [esp + 0x68]
mov esi, dword [esp + 0x1c]
shl eax, cl
mov ecx, dword [esp + 0x58]
add esi, 1
mov dword [esp + 0x1c], esi
mov dword [eax + ecx], edi
add dword [esp + 0x60], 1
mov edx, dword [ebp]
mov eax, dword [edx + 0x30]
mov ecx, ebp
call eax
cmp esi, eax
jb 0x406bc1
mov edx, dword [ebp]
mov eax, dword [edx + 0x6c]
mov ecx, ebp
call eax
test ebp, ebp
je 0x406cf4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
add ebp, 8
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
mov dword [esp + 0x38], 0
call eax
test eax, eax
jbe 0x406e61
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x1c]
mov eax, dword [esp + 0x38]
mov edi, dword [edx + eax*4]
mov edx, dword [edi]
mov eax, dword [edx + 0x90]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xbc]
mov ecx, edi
call eax
mov edx, dword [edi]
mov esi, dword [esp + 0x34]
mov eax, dword [edx + 0xc4]
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xcc]
push esi
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [esp + 0x44]
mov edx, dword [edx + 0xe8]
push eax
mov ecx, edi
call edx
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
call edx
mov ecx, dword [esi + 0x6c]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
call edx
mov esi, dword [ebx]
add esi, 0x168
call fcn.00415d70
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
cmp byte [ebp + 0x68], 0
mov edx, dword [edi]
mov ecx, edi
je 0x406dab
mov eax, dword [edx + 0x18]
jmp 0x406dae
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebp + 0x50], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x6c]
jne 0x406dc6
mov esi, ebp
call fcn.0041ae20
jmp 0x406dde
mov ecx, dword [eax*4 + 0x523100]
shr ecx, 1
cmp dword [ebp + 0x70], ecx
jb 0x406dde
add eax, 1
mov ecx, ebp
call fcn.0041aea0
mov edx, dword [esp + 0x1c]
push edx
mov ebx, ebp
call fcn.0041bab0
cmp dword [eax], 0
mov dword [esp + 0x24], eax
jne 0x406e43
call fcn.0041b9f0
mov esi, eax
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
cmp dword [eax + 0x20], 0
push ebx
jbe 0x406e25
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x406e30
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x3c]
call ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [eax], edx
mov dword [eax + 4], edi
mov dword [ecx], eax
add dword [ebp + 0x70], 1
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
add esi, 1
mov dword [esp + 0x38], esi
call eax
cmp esi, eax
jb 0x406d13
mov esi, dword [esp + 0x30]
mov edx, dword [esi]
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
lea ecx, [esi + 8]
call eax
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x91], 0
mov esi, dword [esp + 0x2c]
jne 0x406fe0
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
xor ebp, ebp
call eax
test eax, eax
jbe 0x406fd7
mov byte [esp + 0x2b], 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x1c]
mov edi, dword [edx + ebp*4]
mov eax, dword [edi]
mov esi, dword [esp + 0x34]
mov edx, dword [eax + 0xc4]
push esi
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xcc]
push esi
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc0]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xb8]
mov ecx, edi
call edx
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0xec]
push ecx
push eax
call fcn.00448190
mov esi, dword [edi]
add esp, 8
push edx
mov edx, dword [esi + 0x80]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x44]
mov eax, dword [edi]
mov edx, dword [eax + 0xe8]
push ecx
mov ecx, edi
call edx
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
call edx
mov ecx, dword [esi + 0x70]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
call edx
mov esi, dword [ebx]
add esi, 0x168
call fcn.004161f0
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
cmp eax, ecx
jne 0x406f88
lea eax, [esp + 0x7c]
call fcn.00412980
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
lea edx, [eax + esi]
cmp edx, ecx
jb 0x406f9c
sub eax, ecx
add eax, esi
jmp 0x406f9e
mov eax, edx
mov cl, byte [esp + 0x9c]
shl eax, cl
mov ecx, dword [esp + 0x8c]
add ebp, 1
mov dword [eax + ecx], edi
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x94], 1
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
cmp ebp, eax
jb 0x406ea6
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
mov edx, dword [esi]
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
test esi, esi
je 0x406fef
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
lea ecx, [esi + 8]
call eax
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.0041b1a0
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], 0
call eax
test eax, eax
jbe 0x4074c1
jmp 0x407020
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x1c]
mov eax, dword [esp + 0x1c]
mov edi, dword [edx + eax*4]
mov ebx, dword [esp + 0x40]
cmp byte [ebx + 0x68], 0
mov edx, dword [edi]
mov dword [esp + 0x70], edi
mov ecx, edi
je 0x407045
mov eax, dword [edx + 0x18]
jmp 0x407048
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebx + 0x50], 0
je 0x407061
push eax
call fcn.0041bab0
mov eax, dword [eax]
test eax, eax
je 0x407061
mov esi, dword [eax + 4]
jmp 0x407063
xor esi, esi
mov edx, dword [esi]
mov eax, dword [esp + 0x34]
mov edx, dword [edx + 0xc4]
push eax
mov ecx, esi
call edx
test al, al
je 0x40714e
push 8
call fcn.004b8fd4
mov ebp, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xc8]
add esp, 4
mov ecx, esi
call edx
mov dword [ebp + 4], edx
mov dword [ebp], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [edi + 8]
test eax, eax
je 0x40714e
cmp byte [edi + 0x24], 0
jne 0x40714e
cmp dword [eax + 0x98], 0
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x24], ecx
je 0x4070e6
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
push ebp
push 8
push ecx
mov ecx, eax
mov eax, dword [edx + 0x154]
push edi
call eax
jmp 0x40714e
mov ebx, dword [eax + 0x94]
cmp byte [ebx + 0x68], 0
mov edx, dword [edi]
mov ecx, edi
je 0x4070fb
mov eax, dword [edx + 0x18]
jmp 0x4070fe
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebx + 0x50], 0
je 0x40714e
push eax
call fcn.0041bab0
cmp dword [eax], 0
je 0x40714e
mov ecx, dword [esp + 0x24]
cmp dword [edi + 0x20], ecx
jne 0x40714e
mov edx, dword [edi + 0x1c]
mov edi, dword [edx + 0x20]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x407132
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [edi + 0x14]
push edx
call eax
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [edi + 0x14], ebp
je 0x40714e
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx + 4]
call eax
mov dword [edi + 0x10], 0
mov edx, dword [esi]
mov eax, dword [esp + 0x34]
mov edx, dword [edx + 0xcc]
push eax
mov ecx, esi
call edx
test al, al
je 0x407239
push 8
call fcn.004b8fd4
mov ebp, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xd0]
add esp, 4
mov ecx, esi
call edx
mov dword [ebp + 4], edx
mov dword [ebp], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [edi + 8]
test eax, eax
je 0x407239
cmp byte [edi + 0x24], 0
jne 0x407239
cmp dword [eax + 0x98], 0
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x24], ecx
je 0x4071d1
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
push ebp
push 9
push ecx
mov ecx, eax
mov eax, dword [edx + 0x154]
push edi
call eax
jmp 0x407239
mov ebx, dword [eax + 0x94]
cmp byte [ebx + 0x68], 0
mov edx, dword [edi]
mov ecx, edi
je 0x4071e6
mov eax, dword [edx + 0x18]
jmp 0x4071e9
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebx + 0x50], 0
je 0x407239
push eax
call fcn.0041bab0
cmp dword [eax], 0
je 0x407239
mov ecx, dword [esp + 0x24]
cmp dword [edi + 0x20], ecx
jne 0x407239
mov edx, dword [edi + 0x1c]
mov edi, dword [edx + 0x24]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x40721d
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [edi + 0x14]
push edx
call eax
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [edi + 0x14], ebp
je 0x407239
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx + 4]
call eax
mov dword [edi + 0x10], 0
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
call eax
test al, al
je 0x407370
cmp byte [esp + 0x44], 0
je 0x407370
mov edx, dword [esi]
mov eax, dword [edx + 0xac]
mov ecx, esi
call eax
mov dword [esp + 0x24], eax
call fcn.0040a730
mov edi, eax
lea ebx, [edi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x34]
cmp dword [eax + 0x20], 0
push ebx
jbe 0x407298
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov ebp, dword [edx + ecx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4072a5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x3c]
call eax
mov ebp, eax
mov edx, dword [ebp]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x200]
push eax
mov ecx, ebp
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [edi + 8]
test eax, eax
je 0x40736b
cmp byte [edi + 0x24], 0
jne 0x40736b
cmp dword [eax + 0x98], 0
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x24], ecx
je 0x407303
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
push ebp
push 6
push ecx
mov ecx, eax
mov eax, dword [edx + 0x154]
push edi
call eax
jmp 0x40736b
mov ebx, dword [eax + 0x94]
cmp byte [ebx + 0x68], 0
mov edx, dword [edi]
mov ecx, edi
je 0x407318
mov eax, dword [edx + 0x18]
jmp 0x40731b
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebx + 0x50], 0
je 0x40736b
push eax
call fcn.0041bab0
cmp dword [eax], 0
je 0x40736b
mov ecx, dword [esp + 0x24]
cmp dword [edi + 0x20], ecx
jne 0x40736b
mov edx, dword [edi + 0x1c]
mov edi, dword [edx + 0x18]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x40734f
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [edi + 0x14]
push edx
call eax
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [edi + 0x14], ebp
je 0x40736b
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx + 4]
call eax
mov dword [edi + 0x10], 0
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov edi, dword [esi]
mov eax, dword [edx + 0x28]
add edi, 0x24
call eax
mov edx, dword [edi]
push eax
mov ecx, esi
call edx
test al, al
je 0x40749b
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
mov ecx, esi
call edx
mov dword [esp + 0x24], eax
call fcn.0040a730
mov edi, eax
lea ebx, [edi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x34]
cmp dword [eax + 0x20], 0
push ebx
jbe 0x4073cc
add dword [eax + 0x20], 0xffffffff
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
mov ebp, dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4073d9
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi + 0x3c]
call ecx
mov ebp, eax
mov edx, dword [ebp]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x200]
push eax
mov ecx, ebp
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [edi + 8]
test eax, eax
je 0x407496
cmp byte [edi + 0x24], 0
jne 0x407496
cmp dword [eax + 0x98], 0
mov esi, dword [edi + 0x20]
je 0x407433
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
push ebp
push 1
push esi
mov ecx, eax
mov eax, dword [edx + 0x154]
push edi
call eax
jmp 0x407496
mov ebx, dword [eax + 0x94]
cmp byte [ebx + 0x68], 0
mov edx, dword [edi]
mov ecx, edi
je 0x407448
mov eax, dword [edx + 0x18]
jmp 0x40744b
mov eax, dword [edx + 0x14]
call eax
cmp dword [ebx + 0x50], 0
je 0x407496
push eax
call fcn.0041bab0
cmp dword [eax], 0
je 0x407496
cmp dword [edi + 0x20], esi
jne 0x407496
mov ecx, dword [edi + 0x1c]
mov esi, dword [ecx + 4]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x40747b
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esi + 0x14]
push eax
call edx
mov eax, dword [esi + 0x10]
test eax, eax
mov dword [esi + 0x14], ebp
je 0x407496
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 0x10], 0
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
add esi, 1
mov dword [esp + 0x1c], esi
call edx
cmp esi, eax
jb 0x407020
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
lea ecx, [esi + 8]
call edx
mov esi, dword [esp + 0xd8]
push esi
call fcn.0041b1a0
mov ebp, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
mov ecx, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], 0
call edx
test eax, eax
jbe 0x407651
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax + ecx*4]
mov esi, dword [esp + 0x3c]
cmp byte [esi + 0x68], 0
mov edx, dword [edi]
mov ecx, edi
je 0x40751d
mov eax, dword [edx + 0x18]
jmp 0x407520
mov eax, dword [edx + 0x14]
call eax
cmp dword [esi + 0x50], 0
je 0x40753d
mov ebx, dword [esp + 0x3c]
push eax
call fcn.0041bab0
mov eax, dword [eax]
test eax, eax
je 0x40753d
mov esi, dword [eax + 4]
jmp 0x40753f
xor esi, esi
mov edx, dword [esi]
mov ebx, dword [esp + 0x34]
mov eax, dword [edx + 0xc4]
push ebx
mov ecx, esi
call eax
test al, al
je 0x4075b8
push 8
call fcn.004b8fd4
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0xc8]
add esp, 4
mov ecx, esi
call eax
mov dword [edi], eax
mov dword [edi + 4], edx
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
mov ecx, esi
call eax
mov edx, eax
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x4075b8
cmp byte [edx + 0x24], 0
jne 0x4075b8
cmp dword [ecx + 0x98], 0
mov eax, dword [edx + 0x20]
push edi
push 8
je 0x4075b3
mov ecx, dword [ecx + 0x98]
mov ebp, dword [ecx]
push eax
push edx
mov edx, dword [ebp + 0x154]
call edx
mov ebp, dword [esp + 0x24]
jmp 0x4075b8
call fcn.00440c50
mov eax, dword [esi]
mov edx, dword [eax + 0xcc]
push ebx
mov ecx, esi
call edx
test al, al
je 0x407629
push 8
call fcn.004b8fd4
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0xd0]
add esp, 4
mov ecx, esi
call edx
mov dword [edi + 4], edx
mov dword [edi], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov edx, eax
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x407629
cmp byte [edx + 0x24], 0
jne 0x407629
cmp dword [ecx + 0x98], 0
mov eax, dword [edx + 0x20]
push edi
push 9
je 0x407624
mov ecx, dword [ecx + 0x98]
mov esi, dword [ecx]
push eax
mov eax, dword [esi + 0x154]
push edx
call eax
jmp 0x407629
call fcn.00440c50
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp]
mov eax, dword [edx + 0x30]
add esi, 1
mov ecx, ebp
mov dword [esp + 0x1c], esi
call eax
cmp esi, eax
jb 0x407500
mov esi, dword [esp + 0xd8]
mov edi, dword [esp + 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
lea ecx, [ebp + 8]
call eax
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x407672
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
add ecx, 4
call eax
test esi, esi
je 0x407681
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea ecx, [esi + 4]
call eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x407694
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18c]
push 0xa
call eax
cmp byte [esp + 0x17], 0
je 0x4076cf
mov ecx, dword [edi + 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x160]
call eax
cmp byte [esp + 0x23], 0
je 0x4076f1
mov ecx, dword [edi + 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x188]
push 0
call eax
cmp byte [esp + 0x2b], 0
je 0x40771f
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
test al, al
je 0x40771f
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x160]
call eax
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0x40]
cmp ecx, dword [edx + 0x70]
jne 0x407743
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0x3c]
cmp eax, dword [ecx + 0x70]
je 0x407824
mov ebx, dword [esp + 0x74]
mov edx, dword [ebx]
mov eax, dword [edx + 0x200]
push 0x51fc90
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x70]
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 0x70]
mov esi, dword [eax]
add ecx, edx
push ecx
mov ecx, eax
mov eax, dword [esi + 0x1a8]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1d0]
push 0x51f9d0
call eax
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov edi, eax
mov esi, dword [edi]
mov eax, dword [edx + 0x50]
add esi, 0x1d0
call eax
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1d0]
push str.__Tcp:
call eax
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 0x70]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x1a8]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1d0]
push str.__Udp:
call eax
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x70]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x1a8]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1d0]
push 0x51fb20
call eax
mov ecx, dword [ebp + 0x80]
mov esi, dword [ecx]
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
push 1
mov ecx, ebx
add esi, 0x10c
call eax
mov ecx, dword [ebp + 0x80]
mov edx, dword [esi]
push eax
call edx
xor ebx, ebx
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], ebp
jmp 0x407850
cmp byte [0x555204], 0
jne 0x407884
push 0x54cf7c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x555204], 0
jne 0x407879
call fcn.0043b820
mov byte [0x555204], 1
push 0x54cf7c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x555354]
mov edx, dword [eax + 0x30]
mov ecx, 0x555354
call edx
cmp ebx, eax
jae 0x4078f9
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb4]
push eax
call fcn.004519b0
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
add esp, 4
lea eax, [esp + 0xb4]
push eax
add esi, ecx
adc dword [esp + 0xac], edx
push ebx
call fcn.00451800
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
add esp, 8
add edi, ecx
adc ebp, edx
add ebx, 1
jmp 0x407850
mov eax, dword [esp + 0xd0]
mov ecx, eax
add eax, 1
cmp ecx, 3
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], edi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xd0], eax
jge 0x407948
xor ebp, ebp
xor esi, esi
xor edi, edi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], ebp
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x74]
mov eax, edi
add eax, esi
mov edx, ebp
adc edx, dword [esp + 0xa8]
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x138]
call eax
mov esi, eax
call fcn.00408180
mov ecx, dword [ebx + 0x74]
mov edx, dword [ecx]
mov eax, dword [edx + 0x13c]
push ebp
push edi
call eax
mov esi, eax
call fcn.00408180
mov ecx, dword [ebx + 0x74]
mov edx, dword [ecx]
mov eax, dword [edx + 0xdc]
call eax
mov ecx, dword [esp + 0x78]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.00415630
mov ebp, dword [esp + 0xb8]
lea eax, [esp + 0xcc]
push ebp
push eax
call fcn.00415630
mov edi, dword [esp + 0x84]
mov edx, dword [edi]
mov eax, dword [edx + 0x200]
add esp, 0x10
push 0x51fc90
mov ecx, edi
call eax
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
mov esi, dword [edi]
mov eax, dword [edx + 0x50]
add esi, 0x1d0
call eax
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1d0]
push 0x51fb24
call eax
mov ecx, dword [ebx + 0x84]
mov esi, dword [ecx]
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
push 1
mov ecx, edi
add esi, 0x10c
call eax
mov ecx, dword [ebx + 0x84]
mov edx, dword [esi]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x200]
push 0x51fc90
mov ecx, edi
call edx
mov eax, dword [ebp]
mov esi, dword [edi]
mov edx, dword [eax + 0x50]
mov ecx, ebp
add esi, 0x1d0
call edx
push eax
mov eax, dword [esi]
mov ecx, edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1d0]
push 0x51fb24
call eax
mov ecx, dword [ebx + 0x88]
mov esi, dword [ecx]
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
push 1
mov ecx, edi
add esi, 0x10c
call eax
mov ecx, dword [ebx + 0x88]
mov edx, dword [esi]
push eax
call edx
mov eax, dword [ebx + 0x54]
cmp eax, 0x3e8
mov byte [ebx + 0x58], 0
jb 0x407ad9
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x148]
call edx
test al, al
mov esi, dword [ebx + 0x54]
je 0x407ab1
cmp esi, 0xbb8
jae 0x407ab1
mov esi, 0xbb8
cmp byte [ebx + 0x58], 0
jne 0x407ae9
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
test esi, esi
jle 0x407ae9
push 0xc8
call edi
sub esi, 0xc8
cmp byte [ebx + 0x58], 0
je 0x407ac0
jmp 0x407ae9
cmp eax, 1
jbe 0x407ae1
push eax
jmp 0x407ae3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebx + 0x7d], 0
je 0x40627c
mov ecx, dword [esp + 0xcc]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 4]
add ecx, 4
call edx
mov eax, dword [esp + 0x18]
mov byte [eax + 0x7c], 0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x407b20
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x407b33
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x407b40
lea ecx, [eax + 4]
jmp 0x407b42
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x78]
test eax, eax
je 0x407b56
lea ecx, [eax + 4]
jmp 0x407b58
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x407b6f
lea ecx, [eax + 4]
jmp 0x407b71
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x100], 0
call fcn.00402290
lea ecx, [esp + 0x48]
mov dword [esp + 0x100], 0xffffffff
call fcn.00402290
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret