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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x34], ebx
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ebx]
call fcn.004065d4
test eax, eax
jne 0x40618f
xor esi, esi
inc eax
mov dword [esp + 0xbc], eax
cmp dword [edi + 0x24], esi
jne 0x40618d
mov ebx, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
mov ecx, edx
push ebx
push edx
push esi
add ecx, eax
mov dword [esp + 0x9c], edx
push esi
mov eax, ebx
mov dword [edi + 0x30], ecx
push esi
adc eax, esi
mov dword [esp + 0xa0], ebx
push esi
lea edx, [esp + 0x38]
mov dword [edi + 0x34], eax
mov ecx, edi
call fcn.00405470
mov ecx, eax
mov dword [esp + 0x44], esi
mov eax, dword [edi + 0x70]
xorps xmm0, xmm0
mov dword [esp + 0xc], ecx
mov ebx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x38], esi
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
test ecx, ecx
jne 0x405a95
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x405a83
mov ebx, dword [esp + 0x34]
xor eax, eax
mov esi, dword [edi + 0x64]
sub esi, dword [edi + 0x60]
xor edx, edx
movlpd qword [esp + 0x68], xmm0
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], esi
test eax, eax
jne 0x4056ea
mov eax, dword [edi]
mov ecx, dword [edi + 0x14]
add eax, 0x10
push eax
push ecx
call dword [ecx]
mov dword [esp + 0x40], eax
test eax, eax
je 0x4058df
and dword [eax], 0
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4056e5
mov dword [edx], eax
jmp 0x4056e8
mov dword [ebx + 8], eax
xor edx, edx
lea ecx, [eax + 0x10]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x28], ecx
test esi, esi
je 0x40571d
mov eax, dword [edi + 0x60]
mov ebx, esi
add eax, 0x10
mov dword [esp + 0x10], esi
add eax, dword [edi + 0x5c]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
jmp 0x4057ff
mov eax, dword [edi]
mov edx, ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x80]
push eax
call fcn.0040122a
mov ebx, dword [esp + 0x80]
add dword [esp + 0x10], ebx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
push 0
pop esi
adc edx, esi
mov dword [esp + 0xc], eax
cmp dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
cmove ecx, ebx
add dword [edi + 0x68], ebx
mov dword [esp + 0x38], ecx
adc dword [edi + 0x6c], esi
xor ecx, ecx
cmp ebx, dword [edi]
setne cl
mov dword [esp + 0x18], ecx
je 0x40577e
xor ecx, ecx
inc ecx
mov dword [edi + 0x70], ecx
jmp 0x405781
xor ecx, ecx
inc ecx
test eax, eax
je 0x405799
mov dword [edi + 0x48], eax
mov esi, ecx
xor eax, eax
mov dword [edi + 0x70], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], eax
jmp 0x40579d
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, edx
sub ecx, dword [esp + 0x7c]
sbb eax, dword [esp + 0x78]
mov dword [esp + 0x6c], eax
jne 0x4057b8
xor eax, eax
inc eax
cmp ecx, eax
jb 0x4057ff
push dword [esp + 0x8c]
xor eax, eax
lea edx, [esp + 0x24]
push dword [esp + 0x94]
mov ecx, edi
push eax
push eax
push eax
push eax
call fcn.00405470
mov ecx, eax
mov dword [esp + 0xc], ecx
test ecx, ecx
jne 0x405a4a
cmp dword [esp + 0x20], eax
jne 0x405a46
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], edx
xor eax, eax
mov dword [esp + 0xcc], esi
cmp dword [esp + 0x14], eax
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0x38]
sete al
mov dword [esp + 0xc4], eax
xor esi, esi
mov eax, dword [esp + 0x2c]
inc esi
mov dword [esp + 0xc8], eax
push dword [ecx + 4]
mov eax, dword [edi + 0x18]
push dword [edi + 0x1c]
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xe0], esi
call dword [eax]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x70], esi
mov dword [esp + 0x24], eax
cmp edx, esi
je 0x405a12
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x405899
push dword [esp + 0xc8]
push dword [esp + 0x2c]
push dword [esp + 0x7c]
call fcn.00420a10
mov ecx, dword [esp + 0xd4]
add esp, 0xc
add dword [edi + 0x60], ecx
mov edx, dword [esp + 0xd0]
jmp 0x4058a0
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0x18]
test edx, edx
jne 0x405935
test eax, eax
jne 0x405944
cmp ecx, ebx
jne 0x405901
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov dword [esp + 0x40], eax
test esi, esi
je 0x4056ba
mov esi, edx
mov dword [edi + 0x60], edx
mov dword [edi + 0x64], edx
jmp 0x4056b6
xor esi, esi
inc esi
mov eax, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x18], eax
xor edx, edx
mov dword [esp + 0x30], edx
mov ebx, edx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0xc]
jmp 0x405a5a
xor edx, edx
push 0xb
pop ecx
mov dword [esp + 0xc], ecx
mov ebx, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], edx
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
lea esi, [eax + 1]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], esi
jmp 0x405b8f
cmp edx, 3
cmove eax, dword [esp + 0xbc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], 1
cmp ecx, ebx
jne 0x405964
xor esi, esi
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], esi
mov dword [esp + 0x30], esi
mov ebx, esi
mov dword [esp + 0x2c], esi
jmp 0x4058f8
cmp edx, 3
jne 0x40599e
mov edx, dword [esp + 0x28]
sub ebx, ecx
add edx, ecx
mov dword [esp + 0x30], edx
xor edx, edx
test esi, esi
setne dl
sub dword [esp + 0x10], ebx
mov dword [esp + 0x2c], edx
sbb dword [esp + 0x1c], 0
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x14], 0
cmove edx, ecx
mov dword [esp + 0x38], edx
jmp 0x4058f8
test esi, esi
je 0x4059ae
xor esi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], esi
jmp 0x4059f7
mov ecx, edi
call fcn.00405587
mov ecx, eax
test ecx, ecx
jne 0x4059c7
inc ecx
mov eax, ecx
mov dword [esp + 0x64], ecx
jmp 0x4058e8
mov eax, dword [esp + 0xc8]
sub ebx, eax
sub dword [esp + 0x10], ebx
push 0
pop esi
sbb dword [esp + 0x1c], esi
add eax, dword [esp + 0x28]
push ebx
push eax
push ecx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x60], esi
call fcn.00420a10
mov ecx, dword [esp + 0xd4]
add esp, 0xc
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x14], 0
cmove eax, ecx
mov dword [esp + 0x38], eax
mov eax, esi
mov dword [esp + 0x18], eax
jmp 0x405958
cmp dword [esp + 0x3c], 0
mov eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x94], esi
je 0x405a39
push ebx
push dword [esp + 0x2c]
push dword [esp + 0x7c]
call fcn.00420a10
add esp, 0xc
mov eax, esi
xor edx, edx
mov dword [edi + 0x60], edx
mov dword [edi + 0x64], edx
jmp 0x4058ee
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x30], eax
mov ebx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
test ecx, ecx
jne 0x405aa5
push dword [esp + 0x8c]
lea edx, [esp + 0x24]
mov ecx, edi
push dword [esp + 0x94]
call fcn.0040541c
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
jmp 0x405aa5
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], edx
jmp 0x405aa9
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x14], edx
test ecx, ecx
jne 0x405918
cmp dword [esp + 0x44], edx
je 0x405af0
test esi, esi
jne 0x405918
mov esi, dword [esp + 0x34]
mov eax, dword [edi + 0x18]
push dword [esi + 4]
push dword [edi + 0x1c]
call dword [eax + 4]
mov edx, eax
mov dword [esp + 0x14], edx
test edx, edx
je 0x405b01
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x18], eax
jmp 0x405af4
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x20], 0
jne 0x405918
jmp 0x405b05
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], edx
test eax, eax
jne 0x405b87
mov ecx, dword [edi + 0x58]
mov eax, ecx
cmp ecx, dword [edi + 0x54]
jae 0x405b5e
cmp dword [esp + 0x24], edx
je 0x405b5e
lea eax, [ecx + 5]
imul ecx, eax, 0x28
add ecx, edi
call fcn.00405366
mov ecx, eax
mov eax, dword [edi + 0x58]
test ecx, ecx
jne 0x405b42
inc eax
mov dword [edi + 0x58], eax
jmp 0x405b5e
xor edx, edx
inc edx
cmp eax, edx
jne 0x405b5b
mov esi, edx
mov dword [esp + 0x7c], ecx
xor eax, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], eax
jmp 0x405b8b
mov dword [edi + 0x54], eax
mov ecx, dword [esi + 4]
inc ecx
cmp ecx, eax
sbb eax, eax
and eax, ecx
add eax, 5
imul esi, eax, 0x28
add esi, edi
mov dword [esp + 0x80], esi
lea ecx, [esi + 0x1c]
call fcn.0040665e
test eax, eax
jne 0x40618f
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x98], xmm0
test ecx, ecx
jne 0x405f12
test eax, eax
je 0x405f12
test esi, esi
jne 0x405f12
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [edx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add dword [esp + 0x58], edx
adc dword [esp + 0x5c], 0
xor edx, edx
inc edx
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x58], ecx
jne 0x405c4c
cmp dword [esp + 0x5c], eax
jne 0x405c4c
mov dword [esp + 0x84], 1
jmp 0x405c54
and dword [esp + 0x84], 0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x78], ecx
mov ecx, dword [edi + 0x18]
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0xb0], esi
push eax
push dword [esp + 0x90]
mov eax, dword [esp + 0x34]
push dword [esp + 0x24]
add eax, 0x10
mov dword [esp + 0xcc], ebx
push eax
push dword [edx + 4]
push dword [edi + 0x1c]
call dword [ecx + 8]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
jne 0x405efb
cmp dword [esp + 0x88], eax
jne 0x405f32
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x10]
jne 0x405d05
cmp eax, dword [esp + 0x1c]
je 0x405f32
sub ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x9c]
sbb eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x54]
sbb edx, dword [esp + 0x28]
cmp dword [esp + 0x84], 0
ja 0x405d44
jb 0x405d3b
cmp ecx, 1
jae 0x405d44
test edx, edx
jne 0x405d44
cmp eax, 1
jb 0x405d9d
push dword [esp + 0x8c]
push dword [esp + 0x94]
push edx
push eax
push dword [esp + 0x94]
lea edx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.00405470
mov ecx, eax
mov dword [esp + 0xc], ecx
test ecx, ecx
jne 0x405f32
cmp dword [esp + 0x20], eax
jne 0x405f32
mov esi, dword [esp + 0x98]
mov eax, dword [esp + 0x58]
mov ebx, eax
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x9c]
jmp 0x405db1
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov edx, dword [edi]
mov dword [esp + 0x28], esi
mov ecx, dword [ecx]
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x74]
sub ecx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x78]
sbb eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
xor ecx, ecx
cmp ecx, eax
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0xb8]
mov eax, edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], edx
jb 0x405c14
ja 0x405e69
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x14], eax
mov eax, edx
jbe 0x405c14
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jmp 0x405c18
push dword [esp + 0x8c]
mov ecx, edi
push dword [esp + 0x94]
call fcn.00405537
jmp 0x405f32
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
call fcn.004065d4
test eax, eax
jne 0x40618f
mov eax, dword [esp + 0x70]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x24], eax
inc ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x68], ecx
cmp dword [edi + 0x24], edx
jne 0x40618d
cmp dword [edi + 0x50], edx
je 0x405f71
mov eax, ecx
mov dword [esp + 0x20], eax
jmp 0x405fd0
test esi, esi
je 0x405f8a
mov dword [edi + 0x50], ecx
cmp esi, 2
mov ecx, dword [esp + 0x64]
push 1
mov dword [edi + 0x4c], esi
pop esi
cmove ecx, esi
jmp 0x405f91
mov ecx, dword [esp + 0x64]
xor esi, esi
inc esi
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x405fa3
mov dword [edi + 0x50], esi
mov dword [edi + 0x40], eax
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x405fb6
xor ecx, ecx
mov dword [esp + 0x24], edx
inc ecx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x38], ecx
jmp 0x405fb9
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x94], edx
je 0x405fd0
mov dword [edi + 0x50], ecx
mov dword [edi + 0x3c], ecx
mov dword [esp + 0x24], edx
cmp dword [esp + 0x44], edx
je 0x406029
test eax, eax
je 0x405fec
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x98], xmm0
mov esi, dword [esp + 0x58]
sub esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
sbb edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x9c]
sbb eax, dword [esp + 0x28]
push eax
push ecx
push edx
push esi
lea ecx, [edi + 0x98]
call fcn.004052b7
mov dword [esp + 0xc], eax
xor edx, edx
jmp 0x40602d
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
xor ecx, ecx
test esi, esi
sete cl
cmp dword [esp + 0x70], 0
mov dword [esp + 0xa4], ecx
je 0x4060c5
test eax, eax
jne 0x40605b
cmp dword [esp + 0x24], eax
je 0x40605b
cmp dword [esp + 0x20], eax
jne 0x40605b
lea ecx, [eax + 1]
jmp 0x40605d
mov ecx, edx
mov eax, dword [edi + 0x18]
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0xa8]
push edx
push dword [esp + 0x34]
push ebx
push dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
push ecx
push dword [ebx + 4]
push dword [edi + 0x1c]
call dword [eax + 0xc]
mov dword [esp + 0xc], eax
test eax, eax
je 0x406098
xor eax, eax
inc eax
mov dword [esp + 0x48], eax
mov dword [edi + 0x50], eax
jmp 0x4060a7
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jne 0x4060cd
test esi, esi
jne 0x4060cd
push dword [esp + 0x8c]
mov ecx, edi
push dword [esp + 0x94]
call fcn.00405537
mov ecx, dword [esp + 0xa4]
jmp 0x4060c9
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x68], 0
je 0x40613a
cmp dword [esp + 0x44], 0
je 0x406100
test eax, eax
jne 0x406100
cmp dword [edi + 0x50], eax
jne 0x406102
cmp dword [esp + 0x14], eax
jne 0x406102
cmp dword [esp + 0x20], eax
jne 0x406102
cmp dword [edi + 0x84], eax
jne 0x406113
cmp dword [esp + 0x48], eax
je 0x40613a
jmp 0x406102
xor eax, eax
cmp dword [edi + 0x84], eax
jne 0x406113
mov eax, dword [ebx + 4]
mov dword [edi + 0x80], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
or eax, edx
jne 0x406123
test esi, esi
jne 0x40614a
mov eax, dword [esp + 0x38]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
inc dword [edi + 0x84]
test esi, esi
jne 0x40614a
mov ecx, dword [esp + 0x80]
add ecx, 0x20
jmp 0x406170
test ecx, ecx
je 0x40615f
lea ecx, [edi + 0xe8]
call fcn.0040665e
test eax, eax
jne 0x40618f
jmp 0x40616a
xor eax, eax
cmp dword [ebx + 4], eax
je 0x40618d
inc eax
mov dword [edi + 0x24], eax
lea ecx, [edi + 0xe4]
call fcn.0040665e
test eax, eax
jne 0x40618f
mov ecx, dword [ebx + 0x1c]
call fcn.004065d4
test eax, eax
jne 0x40618f
xor esi, esi
inc eax
jmp 0x4055dc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret