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

Disassembly:
push eax
call fcn.00406cd3
add byte [ecx + eax*2], dh
cmp eax, dword [ebp + 0x38]
push eax
push eax
add esp, 4
xor eax, 0xa6c9
sub eax, 0x12de3
pop eax
push ebx
xor ebx, 0x116ef
and ebx, 0x11d2e
add ebx, 0xa92
pop ebx
lea eax, [ebp - 0x1770]
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
and esi, 0x490f
jmp 0x406d31
and esi, 0xede
call 0x406d43
add byte [eax + 0x42], cl
inc esp
cmp cl, byte [eax + 0x47]
add esp, 4
pop esi
push ebx
push edx
add esp, 4
and ebx, 0xdcff
pop ebx
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 esi
push ebx
add esp, 4
add esi, 0xdb9d
call 0x406dc1
add byte [esi + 0x45], al
inc edi
dec ecx
dec esi
xor eax, dword [ebx - 0x117efb3c]
cmpsd dword [esi], dword es:[edi]
pop es
add dword [eax], eax
call 0x406dd8
add byte [esi + 0x49], cl
aas
cmp edx, dword [eax + 0x48]
inc esi
add esp, 4
pop esi
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x406df9
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1668], edx
jmp 0x406e53
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x406d21
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x406d21
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x406e3d
mov dword [ebp - 0x1624], 0xffffffff
jmp 0x406e47
mov dword [ebp - 0x1624], 1
mov ecx, dword [ebp - 0x1624]
mov dword [ebp - 0x1668], ecx
cmp dword [ebp - 0x1668], 0
jne 0x406e9c
push edx
call 0x406e6d
add byte [eax], bh
aaa
dec ebx
dec esp
cmp eax, 0x32504138
dec ebp
add esp, 4
pop edx
push edi
and edi, 0x3ecc
call 0x406e84
add byte [esi], dh
dec esi
cmp dword [edx + 0x39], ecx
aas
add esp, 4
and edi, 0x1451e
pop edi
mov edx, dword [ebp - 0x518]
mov dword [ebp - 0x774], edx
jmp 0x406f04
push edx
push edi
add esp, 4
jmp 0x406ea7
sub edx, 0x3148
add edx, 0x13f63
jmp 0x406eb9
pop edx
push edx
and edx, 0x487b
pop edx
push ecx
push edx
add esp, 4
xor ecx, 0xb79d
pop ecx
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 0x406efa
mov eax, dword [ebp - 0x518]
cmp dword [eax + 0x30], 0
jne 0x406cc5
mov dword [ebp - 0x774], 0
push ecx
sub ecx, 0x9a99
pop ecx
push esi
push eax
add esp, 4
add esi, 0x1aec
and esi, 0x1725e
sub esi, 0xb2d6
or esi, 0x17f6a
pop esi
push esi
push eax
add esp, 4
sub esi, 0x74a1
pop esi
cmp dword [ebp - 0x774], 0
jne 0x406f80
push edx
push ecx
add esp, 4
call 0x406f54
add byte [eax + 0x4d], al
inc esi
inc ecx
push eax
dec ebx
dec ebp
inc ebp
dec edx
add esp, 4
pop edx
push ecx
push eax
add esp, 4
call 0x406f6d
add byte [edi + 0x43], cl
dec eax
inc ebx
xor eax, dword [ebp + 0x40]
push eax
dec esp
add esp, 4
pop ecx
mov dword [ebp - 0xab4], 0
jmp 0x407aa8
push eax
push esi
add esp, 4
jmp 0x406f8b
sub eax, 0x3032
add eax, 0xee7e
call 0x406fa5
add byte [ebp + 0x4e], cl
dec esi
dec ebp
dec esi
xor bh, byte [ebx]
dec edx
add esp, 4
pop eax
push edx
jmp 0x406fb1
pop edx
mov ecx, dword [ebp - 0x774]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x3a4], edx
mov dword [ebp - 0x784], 0
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x166c], eax
cmp dword [ebp - 0x166c], 0
jne 0x406ff1
mov edx, dword [ebp - 0x166c]
mov eax, dword [ebp - 0x3a4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1670], eax
jne 0x407019
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], ecx
jmp 0x4072e2
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1670]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1678], edx
cmp dword [ebp - 0x1678], 0
jne 0x40704b
mov eax, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], eax
jmp 0x4072e2
mov ecx, dword [ebp - 0x3a4]
add ecx, dword [ebp - 0x1678]
mov dword [ebp - 0x778], ecx
jne fcn.00407070
mov edx, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], edx
jmp 0x4072e2