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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42d345
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
push edi
mov ecx, ebp
call fcn.00412570
cmp eax, 7
ja case.default.0x406783
jmp dword [eax*4 + 0x406bc4]
mov eax, dword [esp + 0x84]
mov byte [eax], 0
jmp case.default.0x406783
mov ecx, ebp
call fcn.00412c00
push eax
push 0x435420
jmp 0x406865
mov ecx, ebp
call fcn.00412f30
mov ecx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x8c]
push 0x435424
push eax
push ecx
call fcn.004206db
add esp, 0x10
jmp case.default.0x406783
mov ecx, ebp
call fcn.00413260
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
sub esp, 8
fstp qword [esp]
push 0x435428
push edx
push eax
call fcn.004206db
add esp, 0x14
jmp case.default.0x406783
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.00412990
mov eax, dword [eax + 4]
test eax, eax
jne 0x40681c
mov eax, 0x42f344
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x88]
push 0x435430
push edx
push eax
call fcn.004206db
add esp, 0x10
lea ecx, [esp + 0x40]
push 1
call fcn.00408520
jmp case.default.0x406783
mov ecx, ebp
call fcn.004133f0
test al, al
mov eax, 0x435434
jne 0x40685f
mov eax, 0x435438
push eax
push 0x43543c
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ecx
push edx
call fcn.004206db
add esp, 0x10
jmp case.default.0x406783
mov ecx, ebp
call fcn.00413630
xor esi, esi
mov dword [esp + 0x8c], eax
test eax, eax
jle case.default.0x406783
mov edi, dword [esp + 0x88]
push esi
push str.__d_
push 0x10
push 0x43a3b0
call fcn.004206db
mov eax, dword [esp + 0xa0]
push 0x43a3b0
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.00408a20
add esp, 0x1c
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x80], 0
call fcn.004139d0
push eax
push edi
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push edx
push eax
call fcn.00406750
test eax, eax
push 1
lea ecx, [esp + 0x54]
sete bl
mov dword [esp + 0x7c], 0xffffffff
call fcn.00408520
test bl, bl
jne case.default.0x406783
mov eax, dword [esp + 0x8c]
inc esi
cmp esi, eax
jl 0x4068a1
jmp case.default.0x406783
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.004140d0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0
push edx
push eax
mov dword [esp + 0x84], 1
call fcn.00409020
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x406967
xor ecx, ecx
jmp 0x40696c
mov ecx, dword [ecx + 8]
add ecx, eax
mov al, byte [ecx - 1]
mov esi, 0x43ad20
cmp al, 0x2e
je 0x40697d
mov esi, 0x435448
mov cl, byte [esp + 0x84]
push 0
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
call fcn.00408520
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x14]
push ebx
call fcn.00408760
test al, al
je 0x4069cf
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00408740
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp esi, eax
mov byte [esp + 0x78], 2
je 0x406aa3
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.00408e30
push esi
push eax
lea eax, [esp + 0x74]
mov byte [esp + 0x8c], 3
push eax
call fcn.00408e30
add esp, 0x18
push eax
push esi
mov ecx, ebp
mov byte [esp + 0x80], 4
call fcn.00413e40
push eax
push edi
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ecx
push edx
call fcn.00406750
test eax, eax
push 1
lea ecx, [esp + 0x64]
sete bl
mov byte [esp + 0x7c], 3
call fcn.00408520
xor edx, edx
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x34]
cmp eax, edx
je 0x406a84
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x406a79
cmp al, 0xff
je 0x406a79
dec al
mov byte [ecx], al
jmp 0x406a84
push ecx
call fcn.0041fa53
add esp, 4
xor edx, edx
test bl, bl
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
jne 0x406ac5
mov eax, dword [esp + 0x28]
add esi, 0x10
cmp esi, eax
jne 0x4069eb
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x406b39
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x406b30
cmp al, 0xff
je 0x406b30
dec al
mov byte [ecx], al
jmp 0x406b39
mov eax, dword [esp + 0x14]
cmp eax, edx
je 0x406aec
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x406ae1
cmp al, 0xff
je 0x406ae1
dec al
mov byte [ecx], al
jmp 0x406aec
push ecx
call fcn.0041fa53
add esp, 4
xor edx, edx
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x78], 0xffffffff
je 0x406b23
jmp 0x406b10
xor edx, edx
push edx
mov ecx, esi
call fcn.00408f80
add esi, 0x10
cmp esi, edi
jne 0x406b0e
mov esi, dword [esp + 0x24]
push esi
call fcn.0041fa53
add esp, 4
xor eax, eax
jmp 0x406bac
push ecx
call fcn.0041fa53
add esp, 4
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x78], 0xffffffff
je 0x406b68
push ebx
mov ecx, esi
call fcn.00408f80
add esi, 0x10
cmp esi, edi
jne 0x406b59
mov eax, dword [esp + 0x24]
push eax
call fcn.0041fa53
add esp, 4
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x406b88
mov eax, 0x42f344
mov edx, dword [esp + 0x80]
inc eax
push edx
push eax
call fcn.00402ad0
test eax, eax
je 0x406b9f
xor eax, eax
jmp 0x406bac
mov eax, dword [esp + 0x84]
mov byte [eax], 0
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x14