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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x3c], ebx
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ebx]
call fcn.00407764
test eax, eax
jne 0x406d90
mov dword [esp + 0x94], eax
cmp dword [edi + 0x24], eax
jne 0x406d8e
mov edx, dword [edi + 0x30]
xor eax, eax
mov esi, dword [edi + 0x34]
inc eax
mov ecx, edx
mov dword [esp + 0x74], edx
add ecx, eax
mov dword [esp + 0x70], esi
push esi
mov eax, esi
mov dword [edi + 0x30], ecx
adc eax, 0
mov ecx, edi
push edx
mov dword [edi + 0x34], eax
lea edx, [esp + 0x40]
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004061d8
mov edx, dword [edi + 0x70]
xor ecx, ecx
mov esi, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x28], ecx
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x10], eax
test esi, esi
jne 0x406860
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ecx
test eax, eax
jne 0x406860
mov esi, dword [edi + 0x64]
mov ebx, dword [ebx + 8]
sub esi, dword [edi + 0x60]
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x40643d
mov eax, dword [edi]
mov ecx, dword [edi + 0x14]
add eax, 0x10
push eax
push ecx
call dword [ecx]
mov ebx, eax
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x406664
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [ebx], eax
test ecx, ecx
je 0x406434
mov dword [ecx], ebx
jmp 0x40643b
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], ebx
xor ecx, ecx
lea eax, [ebx + 0x10]
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], eax
test esi, esi
je 0x40646e
mov eax, dword [edi + 0x60]
add eax, 0x10
mov dword [esp + 0x1c], esi
add eax, dword [edi + 0x5c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
jmp 0x406585
mov ebx, dword [edi]
mov edx, eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x60], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], ecx
jmp 0x4064bd
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], ebx
push ecx
push edx
push eax
call dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
add ecx, eax
add edx, eax
mov dword [esp + 0x14], ecx
sub ebx, eax
mov dword [esp + 0x60], edx
cmp dword [esp + 0x18], 0
jne 0x4064fe
test eax, eax
je 0x4064c1
mov eax, dword [esp + 0x50]
test ebx, ebx
jne 0x406483
xor ebx, ebx
mov dword [esp + 0x18], ebx
add dword [esp + 0x1c], ecx
push 0
pop eax
adc dword [esp + 0x24], eax
mov eax, ecx
cmp dword [esp + 0x2c], 0
push 0
cmovne eax, dword [esp + 0x2c]
add dword [edi + 0x68], ecx
mov dword [esp + 0x2c], eax
pop eax
adc dword [edi + 0x6c], eax
xor edx, edx
cmp ecx, dword [edi]
setne dl
mov dword [esp + 0xc], edx
je 0x406504
inc eax
mov dword [edi + 0x70], eax
jmp 0x406507
mov ebx, dword [esp + 0x18]
jmp 0x4064c7
xor eax, eax
inc eax
xor edx, edx
test ebx, ebx
je 0x40651b
mov dword [edi + 0x48], ebx
mov dword [edi + 0x70], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x24]
mov eax, ebx
sbb eax, dword [esp + 0x58]
mov dword [esp + 0x54], eax
jne 0x40653a
xor eax, eax
inc eax
cmp ecx, eax
jb 0x406581
push dword [esp + 0x70]
mov ecx, edi
push dword [esp + 0x78]
push edx
push edx
push edx
push edx
lea edx, [esp + 0x50]
call fcn.004061d8
mov dword [esp + 0x18], eax
test eax, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
jne 0x4067e1
test eax, eax
jne 0x4067e1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x34]
xor eax, eax
lea ecx, [esp + 0x98]
cmp dword [esp + 0x2c], eax
push ecx
mov ecx, dword [esp + 0x40]
sete al
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x18]
push dword [ecx + 4]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x14]
push dword [edi + 0x1c]
mov dword [esp + 0xb0], eax
xor eax, eax
inc eax
mov dword [esp + 0xb8], eax
mov eax, dword [edi + 0x18]
call dword [eax]
mov ecx, dword [esp + 0xa8]
xor eax, eax
inc eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x44], eax
xor eax, eax
inc eax
cmp ecx, eax
je 0x4067ae
test esi, esi
je 0x40662c
push dword [esp + 0xa0]
lea eax, [ebx + 0x10]
push dword [esp + 0x24]
push eax
call fcn.00430260
mov eax, dword [esp + 0xac]
add esp, 0xc
add dword [edi + 0x60], eax
mov ecx, dword [esp + 0xa8]
jmp 0x406633
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xc]
test ecx, ecx
jne 0x4066a9
test edx, edx
jne 0x4066b8
cmp eax, dword [esp + 0x14]
jne 0x40667a
mov dword [esp + 0x2c], ebx
mov ebx, dword [ebx]
mov dword [esp + 0x34], ebx
test esi, esi
je 0x406406
mov esi, ecx
mov dword [edi + 0x60], ecx
mov dword [edi + 0x64], ecx
jmp 0x406406
xor ecx, ecx
inc ecx
mov edx, ecx
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], edx
jmp 0x4067ed
xor ecx, ecx
push 0xb
pop esi
mov ebx, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
xor edx, edx
mov dword [esp + 0x64], ecx
inc edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0xc], edx
jmp 0x406947
push 1
cmp ecx, 3
pop ebx
cmove edx, ebx
mov dword [esp + 0xc], edx
jmp 0x4066bb
xor ebx, ebx
inc ebx
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x14]
cmp eax, ebx
jne 0x4066d8
xor ebx, ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov eax, dword [esp + 0x10]
jmp 0x4067ef
cmp ecx, 3
jne 0x406722
add dword [esp + 0x20], eax
xor ecx, ecx
mov edx, dword [esp + 0xc]
sub ebx, eax
test esi, esi
mov dword [esp + 0x14], ebx
push 0
setne cl
sub dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
pop ecx
sbb ebx, ecx
cmp dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x28]
cmove ecx, eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x28], ecx
jmp 0x4067fb
test esi, esi
je 0x406732
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebx
jmp 0x406793
mov ecx, dword [edi + 0x5c]
test ecx, ecx
jne 0x406755
mov eax, dword [edi]
mov ecx, dword [edi + 0x14]
add eax, 0x10
push eax
push ecx
call dword [ecx]
mov ecx, eax
test ecx, ecx
je 0x40675a
mov eax, dword [esp + 0xa0]
mov dword [edi + 0x5c], ecx
add ecx, 0x10
jne 0x406768
xor eax, eax
inc eax
mov edx, eax
mov dword [esp + 0x78], eax
jmp 0x40666d
sub ebx, eax
sub dword [esp + 0x1c], ebx
push 0
pop edx
sbb dword [esp + 0x24], edx
add eax, dword [esp + 0x20]
push ebx
push eax
push ecx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x60], edx
call fcn.00430260
mov eax, dword [esp + 0xac]
add esp, 0xc
xor ebx, ebx
mov ecx, dword [esp + 0x28]
mov edx, ebx
cmp dword [esp + 0x2c], 0
mov dword [esp + 0xc], edx
cmove ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x4066cf
mov dword [esp + 0x90], eax
mov edx, eax
mov dword [esp + 0xc], edx
test esi, esi
je 0x4066c7
push dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x24]
push eax
call fcn.00430260
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4066c7
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x406870
lea esi, [edi + 0xb0]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x88], ebx
je 0x406837
mov eax, dword [esp + 0x70]
cmp eax, dword [edi + 0x94]
jb 0x406837
ja 0x406832
mov eax, dword [esp + 0x74]
cmp eax, dword [edi + 0x90]
jbe 0x406837
xor eax, eax
inc eax
jmp 0x406839
mov eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x9c]
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
jmp 0x406870
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [esp + 0x34], ebx
test esi, esi
jne 0x406695
cmp dword [esp + 0x40], ecx
je 0x4068b7
test eax, eax
jne 0x406695
mov ecx, dword [esp + 0x3c]
mov eax, dword [edi + 0x18]
push dword [ecx + 4]
push dword [edi + 0x1c]
call dword [eax + 4]
mov ebx, eax
xor ecx, ecx
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x4068c4
xor eax, eax
mov dword [esp + 0x40], ecx
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
cmp dword [esp + 0x10], 0
jne 0x406695
jmp 0x4068c8
mov edx, dword [esp + 0xc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], ecx
test edx, edx
jne 0x406944
mov ecx, dword [edi + 0x58]
mov eax, ecx
cmp ecx, dword [edi + 0x54]
jae 0x40691a
cmp dword [esp + 0x44], edx
je 0x40691a
lea eax, [ecx + 5]
imul ecx, eax, 0x28
add ecx, edi
call fcn.00406122
mov ecx, eax
mov eax, dword [edi + 0x58]
test ecx, ecx
jne 0x406900
inc eax
mov dword [edi + 0x58], eax
jmp 0x40691a
xor edx, edx
inc edx
cmp eax, edx
jne 0x406917
xor eax, eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], ecx
jmp 0x40694b
mov dword [edi + 0x54], eax
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
inc ecx
cmp ecx, eax
sbb eax, eax
and eax, ecx
add eax, 5
imul eax, eax, 0x28
add eax, edi
mov dword [esp + 0x64], eax
lea ecx, [eax + 0x1c]
call fcn.00407780
test eax, eax
jne 0x406d90
xor edx, edx
inc edx
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x80], xmm0
test esi, esi
jne 0x406b0c
test eax, eax
je 0x406b0c
test ebx, ebx
jne 0x406b0c
mov esi, dword [esp + 0x54]
mov eax, edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x50]
mov ebx, dword [ecx + 8]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x58], esi
mov dword [esp + 0x2c], ebx
test eax, eax
je 0x4069c0
mov esi, dword [esp + 0x28]
jmp 0x4069e3
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub ebx, edx
mov esi, dword [edi]
sbb eax, ecx
cmp dword [esp + 0x94], eax
jb 0x4069df
ja 0x4069dd
cmp esi, ebx
jbe 0x4069df
mov esi, ebx
mov ebx, dword [esp + 0x2c]
add edx, esi
mov dword [esp + 0x48], 1
push 0
pop eax
adc ecx, eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
cmp edx, dword [esp + 0x1c]
jne 0x406a07
cmp ecx, dword [esp + 0x24]
jne 0x406a07
inc eax
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x84]
push edx
lea edx, [esp + 0x70]
push edx
push eax
push esi
lea eax, [ebx + 0x10]
push eax
mov eax, dword [esp + 0x54]
push dword [eax + 4]
push dword [edi + 0x1c]
call dword [ecx + 8]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x406afb
cmp dword [esp + 0x48], eax
jne 0x406b2c
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
cmp edx, dword [esp + 0x1c]
jne 0x406a5d
cmp ecx, dword [esp + 0x24]
je 0x406b2c
mov esi, dword [esp + 0x80]
mov eax, edx
sub eax, dword [esp + 0x44]
mov ebx, ecx
sbb ebx, dword [esp + 0x7c]
sub esi, dword [esp + 0x58]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x84]
sbb ebx, dword [esp + 0x5c]
cmp dword [esp + 0x50], 0
ja 0x406a9a
jb 0x406a91
cmp eax, 1
jae 0x406a9a
test ebx, ebx
jne 0x406a9a
cmp esi, 1
jb 0x406aee
push dword [esp + 0x70]
lea edx, [esp + 0x3c]
mov ecx, edi
push dword [esp + 0x78]
push ebx
push esi
push dword [esp + 0x60]
push eax
call fcn.004061d8
mov dword [esp + 0x18], eax
test eax, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
jne 0x406b2c
test eax, eax
jne 0x406b2c
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x44], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0x2c]
xor eax, eax
mov ebx, dword [ebx]
jmp 0x4069b2
push dword [esp + 0x70]
mov ecx, edi
push dword [esp + 0x78]
call fcn.0040629f
jmp 0x406b2c
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x20]
call fcn.00407764
test eax, eax
jne 0x406d90
mov ebx, dword [esp + 0x88]
xor edx, edx
xor ecx, ecx
mov esi, edx
inc ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], ecx
cmp dword [edi + 0x24], edx
jne 0x406d8e
cmp dword [edi + 0x50], edx
je 0x406b70
mov eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], eax
jmp 0x406bcd
mov eax, dword [esp + 0x34]
test eax, eax
je 0x406b8d
mov dword [edi + 0x50], ecx
cmp eax, 2
mov ecx, dword [esp + 0x78]
push 1
mov dword [edi + 0x4c], eax
pop eax
cmove ecx, eax
jmp 0x406b91
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x406ba4
xor ebx, ebx
mov dword [edi + 0x40], eax
inc ebx
mov dword [edi + 0x50], ebx
mov ebx, edx
test ecx, ecx
je 0x406bb5
xor ecx, ecx
mov ebx, edx
inc ecx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x38], ecx
jmp 0x406bb8
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x90], edx
je 0x406bcd
mov dword [edi + 0x50], ecx
mov ebx, edx
mov dword [edi + 0x3c], ecx
cmp dword [esp + 0x40], edx
je 0x406c28
test eax, eax
je 0x406be9
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x80], xmm0
mov esi, dword [esp + 0x68]
sub esi, dword [esp + 0x44]
mov edx, dword [esp + 0x6c]
sbb edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
sub ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x84]
sbb eax, dword [esp + 0x5c]
push eax
push ecx
push edx
push esi
lea ecx, [edi + 0x98]
call fcn.00406098
mov esi, dword [esp + 0x48]
mov dword [esp + 0x18], eax
jmp 0x406c2c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
xor ecx, ecx
test edx, edx
sete cl
cmp dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
je 0x406cce
test eax, eax
jne 0x406c5f
test ebx, ebx
je 0x406c5f
cmp dword [esp + 0x10], eax
jne 0x406c5f
lea ecx, [eax + 1]
jmp 0x406c63
xor eax, eax
mov ecx, eax
mov ebx, dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov eax, dword [edi + 0x18]
push edx
lea edx, [esp + 0x90]
push edx
push dword [esp + 0x38]
push dword [esp + 0x20]
push dword [esp + 0x30]
push ecx
push dword [ebx + 4]
push dword [edi + 0x1c]
call dword [eax + 0xc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x406c9f
xor eax, eax
inc eax
mov esi, eax
mov dword [edi + 0x50], eax
jmp 0x406cb2
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0xc]
test ecx, ecx
jne 0x406cd6
test edx, edx
jne 0x406cd6
push dword [esp + 0x70]
mov ecx, edi
push dword [esp + 0x78]
call fcn.0040629f
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0xc]
jmp 0x406cd2
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x50], 0
je 0x406d41
cmp dword [esp + 0x40], 0
je 0x406d07
test eax, eax
jne 0x406d07
cmp dword [edi + 0x50], eax
jne 0x406d09
cmp dword [esp + 0x34], eax
jne 0x406d09
cmp dword [esp + 0x10], eax
jne 0x406d09
cmp dword [edi + 0x84], eax
jne 0x406d1a
test esi, esi
je 0x406d41
jmp 0x406d09
xor eax, eax
cmp dword [edi + 0x84], eax
jne 0x406d1a
mov eax, dword [ebx + 4]
mov dword [edi + 0x80], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
or eax, esi
jne 0x406d2a
test edx, edx
jne 0x406d4e
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], esi
inc dword [edi + 0x84]
test edx, edx
jne 0x406d4e
mov ecx, dword [esp + 0x64]
add ecx, 0x20
jmp 0x406d74
test ecx, ecx
je 0x406d63
lea ecx, [edi + 0xe8]
call fcn.00407780
test eax, eax
jne 0x406d90
jmp 0x406d6e
xor eax, eax
cmp dword [ebx + 4], eax
je 0x406d8e
inc eax
mov dword [edi + 0x24], eax
lea ecx, [edi + 0xe4]
call fcn.00407780
test eax, eax
jne 0x406d90
mov ecx, dword [ebx + 0x1c]
call fcn.00407764
test eax, eax
jne 0x406d90
jmp 0x406325
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret