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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1a4]
cmp eax, dword [ecx + 8]
jbe 0x5dac87
sub esp, 0x224
mov ecx, dword [esp + 0x228]
movzx edx, byte [ecx + 0x295]
test dl, dl
je 0x5da913
lea edi, [esp + 0x11c]
xor eax, eax
call fcn.00462904
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
lea ebx, [0x6524c0]
cmp edx, ebx
jne 0x5dac70
lea edi, [esp + 0x11c]
call fcn.00462bf8
mov eax, dword [esp + 0x154]
jmp 0x5da946
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.00462908
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
lea ebx, [0x652a00]
cmp edx, ebx
jne 0x5dac5a
lea edi, [esp + 0x3c]
call fcn.00462c20
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.004090f0
mov eax, dword [esp + 8]
lea ecx, [0x636020]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ba710
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x230]
add edx, ecx
mov dword [esp + 0x28], edx
jmp 0x5da9b1
mov ebx, dword [esp + 0x2c]
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jae 0x5dac25
mov dword [esp + 0x2c], ecx
lea eax, [0x636020]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x20c], eax
mov ecx, dword [esp + 0x228]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
call fcn.005cf880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x228]
mov dword [esp], ecx
lea edx, [0x618340]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x20c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.005d05a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5dac10
mov eax, dword [esp + 0x20c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
cmp edx, ecx
jb 0x5dabef
mov ebx, dword [eax + 4]
cmp edx, ebx
jb 0x5dabce
mov eax, dword [esp + 0x228]
mov dword [esp], eax
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
lea esi, [ebp + edx]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
sub ebx, edx
mov dword [esp + 0xc], ebx
call fcn.005da640
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x5dabb9
lea edi, [esp + 0x210]
xor eax, eax
call fcn.0046293b
mov ecx, dword [esp + 0x20c]
mov edx, dword [ecx]
mov eax, ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x210], edx
mov dword [esp + 0x214], ecx
mov dword [esp + 0x218], ebx
mov dword [esp + 0x21c], ebp
mov dword [esp + 0x220], esi
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x104]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x100]
mov esi, ecx
mov ecx, dword [ecx + 0x108]
cmp ecx, ebx
jae 0x5dab60
lea eax, [0x6366e0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x228]
mov dword [ebx + 0x108], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5dab48
mov dword [ebx + 0x100], eax
jmp 0x5dab53
lea edi, [ebx + 0x100]
call fcn.004626c0
mov esi, ebx
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x20c]
lea ecx, [edx + 1]
mov dword [esi + 0x104], ecx
mov ecx, dword [0x87bd00]
lea edx, [edx + edx*4]
lea edi, [ebp + edx*4]
test ecx, ecx
jne 0x5dab88
lea esi, [esp + 0x210]
call fcn.00462e1e
jmp 0x5dabac
lea eax, [0x6366e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x210]
mov dword [esp + 8], eax
call fcn.00410890
mov eax, dword [esp + 0x20c]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5da9a2
jmp 0x5dac25
mov dword [esp + 0x234], ecx
mov dword [esp + 0x238], edx
add esp, 0x224
ret
mov eax, dword [0x854c48]
mov ecx, dword [0x854c4c]
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], ecx
add esp, 0x224
ret
mov eax, dword [0x854c40]
mov ecx, dword [0x854c44]
mov dword [esp + 0x234], eax
mov dword [esp + 0x238], ecx
add esp, 0x224
ret
mov dword [esp + 0x234], ecx
mov dword [esp + 0x238], edx
add esp, 0x224
ret
mov eax, dword [esp + 0x228]
mov ecx, dword [eax + 0x104]
test ecx, ecx
je 0x5dac3d
mov byte [eax + 0x2a0], 1
mov dword [esp + 0x234], 0
mov dword [esp + 0x238], 0
add esp, 0x224
ret
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
nop
call fcn.004612b0
jmp fcn.005da8a0