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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443130
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x455460]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x20]
push 0
push 0xa
push 1
push eax
call dword [0x4444c8]
push 0x44a554
lea ecx, [esp + 0x28]
call fcn.00402870
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x24]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x58], esp
mov esi, esp
push eax
call fcn.00402d50
add esp, 4
lea ecx, [esp + 0x44]
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00409990
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
call fcn.00402cd0
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406bff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040b660
test eax, eax
jne 0x406c11
xor ecx, ecx
jmp 0x406c21
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x406c16
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00402c40
push 0x44a6d8
lea ecx, [esp + 0x24]
call fcn.00402870
mov bl, 2
mov byte [esp + 0x68], bl
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x58], esp
mov esi, esp
push eax
call fcn.00402d50
add esp, 4
lea edx, [esp + 0x44]
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.00409990
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 3
call fcn.00402cd0
mov byte [esp + 0x68], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040b660
test eax, eax
jne 0x406cab
xor ecx, ecx
jmp 0x406cbb
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x406cb0
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00402c40
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x58], esp
mov esi, esp
push eax
call fcn.00402d50
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x58], esp
mov esi, esp
push eax
call fcn.00402d50
add esp, 4
add eax, 0x10
lea edx, [esp + 0x48]
mov dword [esi], eax
push edx
mov byte [esp + 0x74], bl
call fcn.004081a0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
mov byte [esp + 0x84], 5
mov eax, dword [0x456ac8]
push 0x44a5d8
push eax
mov dword [esp + 0x58], esi
call dword [0x444024]
test eax, eax
jne 0x406d6f
mov esi, dword [esp + 0x34]
mov dword [esp + 0x30], esi
xor eax, eax
cmp dword [edi + 0x9c], eax
mov dword [esp + 0x40], eax
jle 0x407afc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x94]
mov ebx, eax
imul ebx, ebx, 0x9c
xor esi, esi
cmp dword [ebx + edx + 0xc], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
jle 0x407ae0
jmp 0x406db8
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
test esi, esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x94]
lea eax, [ebx + ecx + 0x60]
jl 0x407b50
cmp esi, dword [eax + 8]
jge 0x407b50
mov eax, dword [eax + 4]
lea edi, [esi*4]
add eax, edi
mov eax, dword [eax]
push 0x44a5fc
push eax
call fcn.0042cd90
add esp, 8
test eax, eax
sete al
test al, al
jne 0x406e3c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x94]
cmp esi, dword [ebx + eax + 0x68]
lea eax, [ebx + eax + 0x60]
jge 0x407b50
mov eax, dword [eax + 4]
add eax, edi
mov eax, dword [eax]
push 0x44a5f8
push eax
call fcn.0042cd90
add esp, 8
test eax, eax
sete al
test al, al
je 0x407aba
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x94]
mov dword [eax + 0xc4], 0
cmp esi, dword [ebx + ecx + 0x2c]
lea eax, [ebx + ecx + 0x24]
jge 0x407b50
mov eax, dword [eax + 4]
add esi, esi
add esi, esi
add eax, esi
mov esi, dword [eax]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x406e8f
cmp eax, dword [esi]
jne 0x406e8f
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x406ec5
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x407b55
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0042bd7e
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esp + 0x58], eax
mov ebx, dword [ebp + 8]
mov byte [esp + 0x68], 6
mov edi, dword [ebx + 0xb0]
lea ecx, [ebx + 0xb0]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x54], esi
je 0x406f92
cmp dword [edi + 0xc], 0
jl 0x406f84
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x406f84
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x406f27
cmp eax, dword [esi]
jne 0x406f27
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x406f5d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x407b55
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0042bd7e
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x406f76
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x1c]
add ebx, 0x10
mov dword [eax], ebx
mov ebx, dword [ebp + 8]
jmp 0x406f92
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.00402c40
mov dword [ebx + 0x80], 0
mov ecx, dword [ebx + 0x84]
mov esi, dword [ecx - 0x10]
add ebx, 0x84
cmp dword [ecx - 0xc], 0
lea eax, [ecx - 0x10]
je 0x406ff9
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x406fd5
cmp dword [ecx - 8], 0
jl 0x407b5a
mov dword [ecx - 0xc], 0
mov ecx, dword [ebx]
mov byte [ecx], 0
jmp 0x406ff9
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406feb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x407026
cmp eax, dword [esi]
jne 0x407026
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40705c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x407b55
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0042bd7e
add esp, 0x10
lea ebx, [edi + 0x10]
mov dword [esp + 0x1c], ebx
push 0x2e
push ebx
mov byte [esp + 0x70], 7
call fcn.0042cc61
add esp, 8
test eax, eax
jne 0x407081
mov dword [esp + 0x34], 0xffffffff
jmp 0x407087
sub eax, ebx
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x34]
add edx, 4
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
call fcn.0040d240
mov ecx, dword [ebp + 8]
add ecx, 0xb0
mov byte [esp + 0x68], 8
mov eax, dword [eax]
mov edi, dword [ecx]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x407167
cmp dword [edi + 0xc], 0
jl 0x407154
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x407154
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4070f2
cmp eax, dword [esi]
jne 0x4070f2
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407128
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x407b55
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0042bd7e
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x407141
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp + 8]
add ebx, 0x10
add eax, 0xb0
mov dword [eax], ebx
mov ebx, dword [esp + 0x1c]
jmp 0x407167
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [ebp + 8]
push eax
add ecx, 0xb0
call fcn.00402c40
mov byte [esp + 0x68], 7
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40718c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx - 0xc]
sub eax, dword [esp + 0x34]
lea ecx, [esp + 0x48]
sub eax, 4
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0040d1c0
mov byte [esp + 0x68], 9
mov eax, dword [eax]
lea edx, [ebx - 0x10]
lea esi, [eax - 0x10]
cmp esi, edx
mov dword [esp + 0x3c], edx
je 0x40725d
cmp dword [edx + 0xc], 0
lea ebx, [edx + 0xc]
jl 0x40724b
mov ecx, dword [esi]
cmp ecx, dword [edx]
jne 0x40724b
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4071f2
cmp eax, dword [esi]
jne 0x4071f2
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407228
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x407b55
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0042bd7e
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x407242
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [edi + 0x10]
mov dword [esp + 0x1c], ebx
jmp 0x40725d
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00402c40
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x68], 7
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407282
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44a043
push ebx
call fcn.0042cd90
add esp, 8
test eax, eax
setne al
test al, al
je 0x4072ff
mov edi, dword [ebp + 8]
mov dword [edi + 0x80], 1
mov esi, dword [edi + 0x84]
add edi, 0x84
lea eax, [ebx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x4072ff
cmp dword [esi + 0xc], 0
jl 0x4072f3
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x4072f3
push eax
call fcn.00402d50
mov ebx, eax
add esp, 4
lea eax, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x4072ec
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0x10
mov dword [edi], ebx
jmp 0x4072ff
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, edi
call fcn.00402c40
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xb0]
add esi, 0xb0
push 0x2f
push eax
call fcn.0042cc61
add esp, 8
test eax, eax
jne 0x407322
or eax, 0xffffffff
jmp 0x407324
sub eax, dword [esi]
add eax, 1
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.0040d190
mov ebx, dword [ebp + 8]
mov byte [esp + 0x68], 0xa
mov eax, dword [eax]
mov edi, dword [ebx + 0xac]
lea ecx, [ebx + 0xac]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
mov dword [esp + 0x34], ecx
je 0x4073fa
cmp dword [edi + 0xc], 0
jl 0x4073f0
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x4073f0
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x407393
cmp eax, dword [esi]
jne 0x407393
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4073c9
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x407b55
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0042bd7e
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x4073e2
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x34]
add ebx, 0x10
mov dword [eax], ebx
mov ebx, dword [ebp + 8]
jmp 0x4073fa
mov edx, dword [eax - 0xc]
push edx
push eax
call fcn.00402c40
mov byte [esp + 0x68], 7
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40741f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebx + 0xb0]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov dword [esp + 0x40], esp
mov dword [esp + 0x40], esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x407455
cmp eax, dword [esi]
jne 0x407455
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40748b
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x407b55
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0042bd7e
add esp, 0x10
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x54]
push eax
add edi, 0x10
push ebx
mov dword [edx], edi
call fcn.00406300
mov byte [esp + 0x68], 0xb
mov eax, dword [eax]
mov edi, dword [ebx + 0xb8]
lea ecx, [ebx + 0xb8]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
mov dword [esp + 0x3c], ecx
je 0x40755b
cmp dword [edi + 0xc], 0
jl 0x407551
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x407551
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4074f7
cmp eax, dword [esi]
jne 0x4074f7
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40752d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x407b55
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0042bd7e
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x407546
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x3c]
add ebx, 0x10
mov dword [eax], ebx
jmp 0x40755b
mov edx, dword [eax - 0xc]
push edx
push eax
call fcn.00402c40
mov byte [esp + 0x68], 7
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407580
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44a604
lea ecx, [esp + 0x1c]
call fcn.00402870
mov byte [esp + 0x68], 0xc
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x18]
mov ebx, dword [eax - 0xc]
mov esi, dword [ecx - 0xc]
mov edi, eax
mov dword [esp + 0x34], eax
mov eax, dword [ecx - 8]
mov dword [esp + 0x38], esi
add esi, ebx
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
sub edi, ecx
or eax, edx
jge 0x4075d0
push esi
lea ecx, [esp + 0x1c]
call fcn.00402760
mov ecx, dword [esp + 0x18]
cmp edi, dword [esp + 0x38]
ja 0x4075dc
add edi, ecx
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push ebx
push edx
add eax, ecx
push ebx
push eax
call fcn.0042bd7e
add esp, 0x10
test esi, esi
jl 0x407b5a
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x407b5a
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x18]
mov byte [esi + ecx], 0
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40763d
cmp eax, dword [esi]
jne 0x40763d
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407673
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x407b55
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0042bd7e
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 8]
add edx, 0x2a0
mov byte [esp + 0x68], 0xd
mov edi, dword [edx]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x407733
cmp dword [edi + 0xc], 0
jl 0x407727
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x407727
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4076c9
cmp eax, dword [esi]
jne 0x4076c9
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4076ff
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x407b55
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
lea ecx, [esi + 0x10]
push ecx
push eax
lea edx, [ebx + 0x10]
push edx
call fcn.0042bd7e
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407718
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp + 8]
add ebx, 0x10
add eax, 0x2a0
mov dword [eax], ebx
jmp 0x407733
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edx
call fcn.00402c40
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x26c]
push 1
push 0
push edx
call dword [0x444504]
mov byte [esp + 0x68], 0xc
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407765
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push 0x44a614
lea ecx, [esp + 0x18]
call fcn.00402870
mov byte [esp + 0x68], 0xe
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x14]
mov ebx, dword [eax - 0xc]
mov esi, dword [ecx - 0xc]
mov edi, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ecx - 8]
mov dword [esp + 0x38], esi
add esi, ebx
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
sub edi, ecx
or eax, edx
jge 0x4077b5
push esi
lea ecx, [esp + 0x18]
call fcn.00402760
mov ecx, dword [esp + 0x14]
cmp edi, dword [esp + 0x38]
ja 0x4077c1
add edi, ecx
mov dword [esp + 0x3c], edi
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push edx
add eax, ecx
push ebx
push eax
call fcn.0042bd7e
add esp, 0x10
test esi, esi
jl 0x407b5a
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x407b5a
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], 0
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x407822
cmp eax, dword [esi]
jne 0x407822
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407858
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x407b55
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0042bd7e
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esp + 0x3c], eax
mov ebx, dword [ebp + 8]
lea edx, [ebx + 0x2f8]
mov byte [esp + 0x68], 0xf
mov edi, dword [edx]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x40791f
cmp dword [edi + 0xc], 0
jl 0x407913
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x407913
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4078b2
cmp eax, dword [esi]
jne 0x4078b2
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4078e8
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x407b55
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
lea ecx, [esi + 0x10]
push ecx
push eax
lea edx, [ebx + 0x10]
push edx
call fcn.0042bd7e
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x407901
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [ebp + 8]
add ebx, 0x10
add eax, 0x2f8
mov dword [eax], ebx
mov ebx, dword [ebp + 8]
jmp 0x40791f
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edx
call fcn.00402c40
mov ecx, dword [ebx + 0x2c4]
push 1
push 0
push ecx
call dword [0x444504]
mov byte [esp + 0x68], 0xe
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40794e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
push ebx
call fcn.00407b70
test eax, eax
je 0x4079bf
mov ecx, dword [ebx + 0xe8]
push 0
push 0x64
push 0x402
push ecx
call dword [0x444508]
cmp dword [ebx + 0x80], 0
push 1
push 0x44a043
je 0x40798e
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0xa4]
push eax
push ecx
jmp 0x40799a
mov eax, dword [ebx + 0xa4]
push 0x44a043
push eax
push 0x44a70c
push 0
call dword [0x444360]
cmp eax, 0x20
ja 0x4079bf
push 0x30
push 0x44a540
push 0x44a714
mov ecx, ebx
call fcn.004116a0
mov edx, dword [ebx + 0x94]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
add eax, edx
cmp edi, dword [eax + 0x90]
jge 0x407b50
mov ecx, dword [eax + 0x8c]
lea edx, [edi*4]
mov esi, dword [ecx + edx]
add ecx, edx
cmp edi, dword [eax + 0x7c]
jge 0x407b50
mov eax, dword [eax + 0x78]
mov edi, dword [eax + edx]
add eax, edx
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x407b64
push esi
call dword [0x4442e8]
mov ecx, dword [esp + 0x30]
add eax, 1
push eax
push esi
push 1
push 0
push edi
push ecx
call dword [0x44401c]
mov byte [esp + 0x68], 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407a4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407a73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407a98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 5
mov eax, dword [esp + 0x54]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407aba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x28]
mov edx, dword [ecx + 0x94]
mov ecx, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [ecx + edx + 0xc]
mov dword [esp + 0x28], eax
jl 0x406db0
mov eax, dword [esp + 0x40]
mov edx, dword [ebp + 8]
add eax, 1
cmp eax, dword [edx + 0x9c]
mov dword [esp + 0x40], eax
jl 0x406d81
mov esi, dword [esp + 0x30]
mov edi, edx
test esi, esi
je 0x407b0f
push esi
call dword [0x44402c]
mov dword [esp + 0x30], 0
mov eax, dword [edi + 0x20]
mov esi, dword [0x4444d8]
push 0
push eax
call esi
mov ecx, dword [edi + 0x20]
push 1
push ecx
call esi
mov edx, dword [edi + 0xe8]
push 0
push 0x64
push 0x402
push edx
call dword [0x444508]
push 1
lea ecx, [edi + 0x138]
call fcn.00415d67
push 1
call dword [0x4442dc]
call fcn.0040ece8
call fcn.00402680
push 0x80070057
call fcn.00402e30
push 0x80004005
call fcn.00402e30
int3