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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x5daa3c
sub esp, 0x88
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x5da174
xor ecx, ecx
xor ebx, ebx
mov esi, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
xor eax, eax
jmp 0x5da1a6
mov eax, dword [edx]
mov dword [esp], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 8], ebx
call eax
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
mov edi, ebx
movzx ebx, byte [edx + 5]
test bl, bl
jne 0x5daa29
mov dword [esp + 0x44], esi
mov dword [esp + 0x64], ebp
mov byte [esp + 0x23], al
test ecx, ecx
jne 0x5da235
movzx ebx, byte [edx + 4]
test bl, bl
je 0x5da235
test esi, esi
jne 0x5da235
lea eax, [0x65ac80]
mov dword [esp], eax
call fcn.0040af90
mov edi, dword [esp + 4]
mov dword [edi + 4], 0
mov eax, dword [0xe996c0]
test eax, eax
jne 0x5da202
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
jmp 0x5da20d
mov eax, dword [esp + 0x64]
call fcn.0045efc0
mov ecx, eax
mov dword [edi + 0xc], 2
lea edx, [0x672c1d]
mov dword [edi + 8], edx
movzx eax, byte [esp + 0x23]
mov edx, dword [esp + 0x8c]
mov ebp, ecx
mov esi, dword [esp + 0x44]
lea ecx, [0x6d32b0]
mov dword [esp + 0x34], ecx
mov ebx, edi
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0045f0b8
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x34]
jmp 0x5da26e
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x44]
mov eax, ebp
mov ecx, ebx
mov ebx, edi
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x7c]
lea ebp, [esp + 0x68]
cmp dword [ebp + 4], edi
jle 0x5da580
mov byte [esp + 0x23], al
mov dword [esp], ebp
call fcn.005db440
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5da346
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5da2c3
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
lea edx, [0x672c1d]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x58]
jmp 0x5da33c
mov ecx, dword [esp + 0x8c]
movzx edx, byte [ecx + 4]
test dl, dl
jne 0x5da2ea
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
lea edx, [0x672c1d]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x58]
jmp 0x5da33c
lea eax, [0x65ac80]
mov dword [esp], eax
call fcn.0040af90
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov ecx, dword [0xe996c0]
test ecx, ecx
jne 0x5da315
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
jmp 0x5da326
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045efc0
mov eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [edi + 0xc], 2
lea edx, [0x672c1d]
mov dword [edi + 8], edx
lea ebx, [0x6d32b0]
movzx ebp, byte [esp + 0x23]
jmp 0x5da503
cmp ecx, 4
jge 0x5da34f
xor edx, edx
jmp 0x5da380
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], eax
mov dword [esp], eax
lea ecx, [0x673062]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call fcn.00402870
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x54]
test dl, dl
jne 0x5da3c6
mov edx, dword [esp + 0x34]
test edx, edx
je 0x5da394
mov ecx, edx
mov ebx, dword [esp + 0x58]
jmp 0x5da3b3
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005db7e0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
movzx edx, byte [esp + 0x23]
mov eax, ecx
mov ecx, dword [esp + 0x8c]
jmp 0x5da4ef
add ecx, 0xfffffffc
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005dbc00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x5da41f
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5da403
mov edx, eax
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
movzx ebp, byte [esp + 0x23]
mov edi, ebx
mov ebx, edx
lea edx, [0x672c1d]
jmp 0x5da503
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ecx
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x5da437
mov edx, 1
jmp 0x5da456
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005d41c0
mov eax, dword [esp + 8]
test eax, eax
setne al
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x23], dl
lea ebx, [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005db4f0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5da483
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x58]
jmp 0x5da4bf
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x5da497
mov ebx, dword [esp + 0x58]
jmp 0x5da4bf
mov eax, dword [edx]
mov dword [esp], ecx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 8], ebp
call eax
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, ecx
mov ecx, dword [esp + 0x8c]
test eax, eax
jne 0x5da4ea
mov dword [esp], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.005db7e0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x8c]
movzx edx, byte [esp + 0x23]
mov ecx, dword [esp + 0x64]
mov ebp, edx
mov edi, ebx
lea edx, [0x672c1d]
mov ebx, eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x84]
lea edx, [esi + 1]
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
test ecx, ecx
je 0x5da549
cmp eax, edx
jle 0x5da53c
dec eax
cmp eax, edx
jne 0x5da259
lea eax, [ecx + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5da259
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
jmp 0x5da259
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x80]
lea ecx, [eax + 1]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
lea ebx, [edx - 1]
cmp ebx, ecx
jne 0x5da577
lea eax, [eax + esi + 1]
cmp byte [eax], 0x2e
jne 0x5da577
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x40]
jmp 0x5da259
test al, al
je 0x5da5b2
mov eax, dword [edx + 0x14]
test eax, eax
je 0x5da5b2
test ecx, ecx
jne 0x5da5b2
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
jmp 0x5da905
movzx eax, byte [esp + 0x98]
test al, al
je 0x5da5e1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
jmp 0x5da73c
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
test ebp, ebp
jne 0x5da5fd
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
test al, al
jmp 0x5da648
mov dword [esp + 0x60], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
lea eax, [0x6d137c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00518b20
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movzx eax, byte [esp + 0x98]
test al, al
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x60]
je 0x5da6fc
movzx eax, byte [edx + 4]
test al, al
je 0x5da6f2
test ecx, ecx
je 0x5da66b
mov eax, esi
mov edx, ecx
mov edi, ebx
mov ecx, ebp
jmp 0x5da704
test esi, esi
je 0x5da681
lea eax, [esi + ebp - 1]
cmp byte [eax], 0x2e
jne 0x5da67f
lea eax, [esi - 1]
test esi, esi
jmp 0x5da683
test esi, esi
mov eax, esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x24], esi
je 0x5da694
cmp eax, 0xfd
jle 0x5da6e8
lea eax, [0x65ac80]
mov dword [esp], eax
call fcn.0040af90
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov ecx, dword [0xe996c0]
test ecx, ecx
jne 0x5da6bf
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
jmp 0x5da6d0
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.0045efc0
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [edi + 0xc], 2
lea edx, [0x672c1d]
mov dword [edi + 8], edx
lea edx, [0x6d32b0]
jmp 0x5da704
mov eax, esi
mov edx, ecx
mov edi, ebx
mov ecx, ebp
jmp 0x5da704
mov eax, esi
mov edx, ecx
mov edi, ebx
mov ecx, ebp
jmp 0x5da704
mov eax, esi
mov edx, ecx
mov edi, ebx
mov ecx, ebp
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edi
add esp, 0x88
ret
movzx eax, byte [esp + 0x98]
lea ebp, [esp + 0x68]
mov ecx, edx
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x7c]
cmp dword [ebp + 4], esi
jle 0x5da5e1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp], ebp
call fcn.005db440
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
xor edx, edx
jmp 0x5da8d9
lea edx, [0x673062]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.005dc490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x5da7a5
mov edx, ebp
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], eax
lea ebp, [esp + 0x68]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005db4f0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
jmp 0x5da7e3
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x8c]
movzx esi, byte [ebp + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5da85c
test edx, edx
jne 0x5da85c
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], eax
test ecx, ecx
je 0x5da809
cmp ecx, 0x3f
jle 0x5da85c
lea eax, [0x65ac80]
mov dword [esp], eax
call fcn.0040af90
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0xe996c0]
test eax, eax
jne 0x5da834
mov eax, dword [esp + 0x50]
mov dword [edi], eax
jmp 0x5da83d
mov eax, dword [esp + 0x50]
call fcn.0045efc0
mov dword [edi + 0xc], 2
lea eax, [0x672c1d]
mov dword [edi + 8], eax
mov ebp, dword [esp + 0x8c]
lea edx, [0x6d32b0]
mov ebx, edi
mov eax, dword [esp + 0x84]
lea ecx, [eax + 1]
mov dword [esp + 0x84], ecx
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
test esi, esi
je 0x5da8a2
cmp edi, ecx
jle 0x5da895
dec edi
cmp edi, ecx
jne 0x5da727
lea eax, [esi + eax*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5da727
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
jmp 0x5da727
mov eax, dword [esp + 0x80]
lea ecx, [eax + 1]
mov dword [esp + 0x7c], ecx
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
lea ebp, [esi - 1]
cmp ebp, ecx
jne 0x5da8cc
lea eax, [eax + edi + 1]
cmp byte [eax], 0x2e
jne 0x5da8cc
mov dword [esp + 0x7c], esi
mov ebp, dword [esp + 0x8c]
jmp 0x5da727
inc edx
cmp edx, ecx
jge 0x5da7db
lea ebx, [edx + eax]
cmp byte [ebx], 0x80
jb 0x5da8d8
jmp 0x5da769
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x58]
lea ebp, [esp + 0x68]
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x7c], eax
jge 0x5da5b2
mov dword [esp], ebp
call fcn.005db440
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x5da9ba
mov eax, dword [esp + 0x84]
lea ecx, [eax + 1]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
test edx, edx
je 0x5da983
cmp ebx, ecx
jle 0x5da976
dec ebx
cmp ebx, ecx
jne 0x5da8ee
lea eax, [edx + eax*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5da8ee
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
jmp 0x5da8ee
mov eax, dword [esp + 0x80]
lea ecx, [eax + 1]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
lea ebp, [edx - 1]
cmp ebp, ecx
jne 0x5da8ee
lea eax, [ebx + eax + 1]
cmp byte [eax], 0x2e
jne 0x5da8ee
mov dword [esp + 0x7c], edx
jmp 0x5da8ee
lea eax, [0x65ac80]
mov dword [esp], eax
call fcn.0040af90
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [0xe996c0]
test eax, eax
jne 0x5da9e5
mov eax, dword [esp + 0x64]
mov dword [edi], eax
jmp 0x5da9ee
mov eax, dword [esp + 0x64]
call fcn.0045efc0
mov dword [edi + 0xc], 1
lea eax, [0x6d13cc]
mov dword [edi + 8], eax
mov edx, dword [esp + 0x8c]
lea ebp, [esp + 0x68]
lea ecx, [0x6d32b0]
mov ebx, edi
jmp 0x5da5b2
dec esi
mov ebx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ebp, esi
mov esi, ebx
test esi, esi
je 0x5da1bb
cmp byte [ebp], 0x2e
je 0x5daa16
jmp 0x5da1bb
call fcn.0045dbb0
jmp fcn.005da130