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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4de2a8
sub esp, 0x74
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jle 0x4de091
jmp 0x4de095
add esp, 0x74
ret
mov ebx, dword [esp + 0x78]
test byte [ebx], al
mov ebx, dword [ebx]
test byte [ebx], al
mov ebp, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x7c]
add ebx, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebp
cmp ebp, ebx
jl 0x4de0ce
jmp 0x4de17d
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x7c]
lea eax, [eax + ebp*2]
mov dword [esp + 0x34], eax
lea ecx, [0x511660]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004711a0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x78]
test byte [eax], al
mov eax, dword [eax]
test byte [eax], al
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
cmp ecx, eax
jl 0x4de143
jmp 0x4de149
mov dword [esp + 0x30], ecx
jmp 0x4de14b
jmp 0x4de14b
mov ebx, dword [esp + 0x5c]
cmp dword [esp + 0x50], ebx
jne 0x4de157
jmp 0x4de179
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00476100
jmp 0x4de17b
jmp 0x4de17b
jmp 0x4de17f
jmp 0x4de17f
mov byte [esp + 0x12], 0x20
mov ebx, dword [esp + 0x78]
test byte [ebx], al
movzx ebx, byte [ebx + 0xa]
mov byte [esp + 0x13], bl
test bl, bl
jne 0x4de198
jmp 0x4de1ab
mov ebx, dword [esp + 0x78]
test byte [ebx], al
movzx ebx, byte [ebx + 6]
xor ebx, 1
mov byte [esp + 0x13], bl
jmp 0x4de1ad
jmp 0x4de1ad
movzx ebx, byte [esp + 0x13]
test bl, bl
jne 0x4de1b8
jmp 0x4de1bf
mov byte [esp + 0x12], 0x30
jmp 0x4de1c1
jmp 0x4de1c1
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
cmp edx, ecx
jae 0x4de1da
jmp 0x4de2a2
cmp ecx, eax
jae 0x4de1e3
jmp 0x4de29d
sub ecx, eax
sub edx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and eax, edx
add ebx, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], ecx
jmp 0x4de20c
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x24], ebx
jg 0x4de218
jmp 0x4de241
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
movzx ebp, byte [esp + 0x12]
cmp ecx, eax
ja 0x4de233
jmp 0x4de298
add ebx, eax
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
jmp 0x4de23b
inc dword [esp + 0x28]
jmp 0x4de20c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
cmp edx, ecx
jae 0x4de253
jmp 0x4de293
jmp 0x4de255
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x78]
test byte [ebx], al
mov ebx, dword [ebx]
test byte [ebx], al
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x4de27d
jmp 0x4de27f
jmp 0x4de28d
call fcn.004757c0
mov dword [edi], eax
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
jmp 0x4de28d
mov dword [ebx], eax
add esp, 0x74
ret
call fcn.00475870
call fcn.00475830
call fcn.00475890
call fcn.00475870
nop
call fcn.004743b0
jmp fcn.004de070