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

Disassembly:
push ebx
add ebx, 0xfeea
or ebx, 0x10a8c
add ebx, 0x1080e
pop ebx
push edi
push edx
add esp, 4
xor edi, 0x8615
pop edi
push ecx
push ecx
add esp, 4
xor ecx, 0x18566
and ecx, 0xcff4
pop ecx
lea eax, [ebp - 0x1790]
mov dword [ebp - 0xccc], eax
mov ecx, dword [ebp - 0x518]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcc8], edx
xor eax, eax
mov word [ebp - 0x220], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push esi
push edx
add esp, 4
or esi, 0x17e73
pop esi
push ecx
push edx
add esp, 4
and ecx, 0xa305
pop ecx
push edx
or edx, 0xe6ff
pop edx
push edx
push esi
add esp, 4
add edx, 0x109dc
or edx, 0x6bf4
pop edx
mov edx, dword [ebp - 0xcc8]
mov ax, word [edx]
mov word [ebp - 0x1042], ax
mov ecx, dword [ebp - 0xcc8]
add ecx, 2
mov dword [ebp - 0xcc8], ecx
mov dx, word [ebp - 0x1042]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xccc]
mov cx, word [eax]
mov word [ebp - 0x1044], cx
mov edx, dword [ebp - 0xccc]
add edx, 2
mov dword [ebp - 0xccc], edx
mov ax, word [ebp - 0x1044]
mov word [ebp - 0x3c], ax
push ebx
jmp 0x406e16
pop ebx
push esi
jmp 0x406e1e
pop esi
push esi
or esi, 0x3ab5
pop esi
push esi
add esi, 0x15f8
xor esi, 0xe156
or esi, 0x1323b
and esi, 0x19ac
pop esi
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x406e5e
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1668], edx
jmp 0x406eb8
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x406d86
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x406d86
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x406ea2
mov dword [ebp - 0x1624], 0xffffffff
jmp 0x406eac
mov dword [ebp - 0x1624], 1
mov ecx, dword [ebp - 0x1624]
mov dword [ebp - 0x1668], ecx
cmp dword [ebp - 0x1668], 0
jne 0x406f01
push edx
xor edx, 0x11136
pop edx
push edx
push ecx
add esp, 4
xor edx, 0xf281
call fcn.00406ee0
add byte [0x3b414a35], dh
dec edx
push ecx
push esi
add esp, 4
sub ecx, 0x8dbf
xor ecx, 0x56b6
pop ecx
push eax
add eax, 0xa2f3
call fcn.00406f29
add byte [eax + 0x40], dl
dec ebx
cmp al, 0x35
dec edx
cmp eax, 0xc4834f3d
add esp, 4
sub eax, 0x3f1b
pop eax
mov eax, dword [ebp - 0x518]
mov ecx, dword [eax]
mov dword [ebp - 0x518], ecx
mov edx, dword [ebp - 0x518]
cmp edx, dword [ebp - 0xcd0]
je 0x406f5f
mov eax, dword [ebp - 0x518]
cmp dword [eax + 0x30], 0
jne 0x406d2a
mov dword [ebp - 0x774], 0
push edi
push esi
add esp, 4
call 0x406f7a
add byte [edi + 0x40], cl
push eax
dec ebp
dec eax
dec esi
add esp, 4
xor edi, 0x30c
add edi, 0x101f1
call 0x406f97
add byte [edx + 0x48], cl
cmp edi, dword [edx + edi]
inc esp
dec ebx
xor eax, 0x5f04c483
cmp dword [ebp - 0x774], 0
jne 0x406fe5
push eax
and eax, 0x16f76
sub eax, 0xe122
sub eax, 0x11ecd
call 0x406fc6
add byte [esi], dh
cmp eax, 0x503e3d4c
dec ebx
dec esp
dec esi
add esp, 4
pop eax
push edi
push ebx
add esp, 4
xor edi, 0x66e6
pop edi
mov dword [ebp - 0xab4], 0
jmp 0x407b0d
push eax
or eax, 0x17c0b
or eax, 0xf2a1
call 0x407001
add byte [esi + 0x41], cl
cmp dword [edi + 0x45], eax
inc esi
aaa
inc ebp
cmp eax, dword [ebx - 0xf7efb3c]
push eax
ljmp 0x8357
push edi
and edi, 0x1135d
call 0x407b21
add byte [edi + edi + 0x3a], al
cmp al, 0x3c
dec ebx
dec edi
add esp, 4
pop edi
push ebx
push ebx
add esp, 4
or ebx, 0x15884