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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
lea esi, [esp + 0x40]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00442730
add esp, 0xc
cmp dword [esi], 0
je 0x405e98
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x5c]
mov ecx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], esi
mov dword [esp + 8], edi
sub ecx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
lea eax, [edx - 1]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, esi
cmp ecx, eax
mov ecx, eax
cmova ecx, dword [esp]
cmp esi, 0xffffffff
mov esi, 0
cmove eax, esi
mov dword [esp + 0x34], eax
cmove ecx, dword [esp]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x30]
lea ecx, [eax + ebx]
cmp ecx, dword [esp + 4]
jae 0x405f34
mov cl, byte [edi + ecx]
mov eax, edx
xor esi, esi
xor edx, edx
inc edx
mov edi, edx
shld esi, edx, cl
shl edi, cl
test cl, 0x20
mov ecx, 0
cmovne esi, edi
cmovne edi, ecx
and esi, dword [esp + 0x28]
and edi, dword [esp + 0x2c]
or edi, esi
je 0x405e22
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x18]
add ecx, ebx
cmp esi, eax
jae 0x405e39
lea edi, [ebx + esi]
cmp edi, dword [esp + 4]
jae 0x405f61
mov edx, dword [esp + 0xc]
mov dl, byte [edx + esi]
cmp dl, byte [ecx + esi]
lea esi, [esi + 1]
je 0x405df4
sub edi, dword [esp]
mov esi, dword [esp + 0x14]
mov edx, eax
mov ebx, edi
inc ebx
jmp 0x405e2a
mov esi, dword [esp + 0x14]
add ebx, eax
mov edx, eax
cmp esi, 0xffffffff
mov edi, dword [esp + 8]
je 0x405dae
jmp 0x405e87
mov ecx, dword [esp]
mov edi, dword [esp + 8]
mov edx, eax
cmp dword [esp + 0x34], ecx
jae 0x405e91
dec ecx
cmp ecx, edx
jae 0x405f7a
lea esi, [ecx + ebx]
cmp esi, dword [esp + 4]
jae 0x405f84
mov eax, dword [esp + 0xc]
mov al, byte [eax + ecx]
cmp al, byte [edi + esi]
je 0x405e42
mov esi, dword [esp + 0x14]
add ebx, dword [esp + 0x20]
cmp esi, 0xffffffff
je 0x405dae
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp]
jmp 0x405d8f
mov ecx, dword [esp]
xor eax, eax
jmp 0x405d8f
add edx, ebx
jmp 0x405f3e
mov al, byte [esp + 0x4e]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov byte [esp + 0xc], al
mov al, byte [esp + 0x4c]
cmp byte [esp + 0xc], 0
jne 0x405f34
mov byte [esp + 4], al
test ebx, ebx
mov eax, esi
je 0x405ed8
mov eax, esi
sub eax, ebx
jbe 0x405ed2
cmp byte [edi + ebx], 0xbf
jg 0x405ed8
jmp 0x405f94
jne 0x405f94
lea ecx, [edi + ebx]
add eax, ecx
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
call fcn.00438757
test eax, eax
mov ecx, 0x110000
cmove edx, ecx
cmp byte [esp + 4], 0
jne 0x405f3c
cmp edx, 0x110000
je 0x405f34
cmp edx, 0x80
mov eax, 1
jb 0x405f2b
cmp edx, 0x800
push 2
pop eax
jb 0x405f2b
cmp edx, 0x10000
push 4
pop eax
sbb eax, 0
add ebx, eax
mov al, 1
jmp 0x405eb0
mov ecx, dword [esp + 0x10]
xor edi, edi
jmp 0x405f57
mov edx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
sub esi, edx
lea eax, [edi + edx]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], esi
mov dword [ecx], edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
add ecx, ebx
cmp edx, ecx
cmova ecx, edx
push 0x69b62c
call fcn.0043a050
push 0x69b60c
call fcn.0043a050
mov edx, dword [esp + 4]
mov ecx, esi
push 0x69b61c
call fcn.0043a050
mov ecx, edi
mov edx, esi
push 0x69c148
push esi
push ebx
call fcn.00441bc0