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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5dafed
sub esp, 0x90
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x5da768
nop
movzx edx, byte [0x7c0510]
test dl, dl
je 0x5da725
mov edx, dword [esp + 0xa0]
mov dword [0x7c0514], edx
mov ebx, dword [0x7e77b0]
test ebx, ebx
jne 0x5da711
mov eax, dword [esp + 0xa4]
mov dword [0x7c0518], eax
jmp 0x5da733
lea edi, [0x7c0518]
mov eax, dword [esp + 0xa4]
call fcn.0045e950
jmp 0x5da733
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x5da75e
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5da75a
or ebx, 0x80
mov ebp, eax
jmp 0x5da77c
mov ebp, eax
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5da77c
mov edx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
xor ebx, ebx
xor ecx, ecx
xor eax, eax
nop
mov esi, ebx
and ebx, 0x1f
cmp ebx, 0x16
jne 0x5da7b3
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004b8740
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
mov esi, ebx
nop
mov ebx, esi
and esi, 0x1f
mov dword [esp + 0x2c], esi
lea edi, [esi - 2]
nop
cmp edi, 4
ja 0x5da7cd
mov edi, 2
jmp 0x5da7ed
lea edi, [esi - 7]
cmp edi, 4
ja 0x5da7dc
mov edi, 7
jmp 0x5da7ed
lea edi, [esi - 0xd]
cmp edi, 1
ja 0x5da7eb
mov edi, 0xd
jmp 0x5da7ed
mov edi, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
cmp edx, 2
jne 0x5da8d3
mov eax, dword [esp + 0x2c]
cmp eax, 3
ja 0x5da854
cmp eax, 2
jne 0x5da83d
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5da891
cmp eax, 3
jne 0x5dafb2
mov ecx, dword [esp + 0x34]
movsx eax, byte [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x5da891
cmp eax, 4
jne 0x5da867
mov ecx, dword [esp + 0x34]
movsx eax, word [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x5da891
cmp eax, 5
jne 0x5da879
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x5da891
cmp eax, 6
jne 0x5dafb2
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00458c80
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
movsd qword [esp + 0xc], xmm0
call fcn.004ba2b0
jmp 0x5dadd8
cmp edx, 7
jne 0x5da98a
mov eax, dword [esp + 0x2c]
cmp eax, 9
ja 0x5da918
cmp eax, 7
jne 0x5da8f4
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
xor ecx, ecx
jmp 0x5da948
cmp eax, 8
jne 0x5da904
mov ecx, dword [esp + 0x34]
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5da948
cmp eax, 9
jne 0x5daf78
mov ecx, dword [esp + 0x34]
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5da948
cmp eax, 0xa
jne 0x5da927
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5da948
cmp eax, 0xb
jne 0x5da937
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5da948
cmp eax, 0xc
jne 0x5daf78
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00458d50
movsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
movsd qword [esp + 0xc], xmm0
call fcn.004ba2b0
jmp 0x5dadd8
cmp edx, 0xd
jne 0x5da9e7
mov eax, dword [esp + 0x2c]
cmp eax, 0xd
jne 0x5da9a6
mov eax, dword [esp + 0x34]
movss xmm0, dword [eax]
cvtss2sd xmm0, xmm0
jmp 0x5da9b7
cmp eax, 0xe
jne 0x5daf3e
mov eax, dword [esp + 0x34]
movsd xmm0, qword [eax]
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
movsd qword [esp + 0xc], xmm0
call fcn.004ba2b0
jmp 0x5dadd8
cmp edx, 1
jne 0x5daa97
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
movzx ebp, byte [ebp + 0xb]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5daa9e
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.004b7600
movzx eax, byte [esp + 0xc]
test al, al
je 0x5daa64
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
movsd xmm0, qword [0x68b0f8]
movsd qword [esp + 0xc], xmm0
call fcn.004ba2b0
jmp 0x5dadd8
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
xorps xmm0, xmm0
movsd qword [esp + 0xc], xmm0
call fcn.004ba2b0
jmp 0x5dadd8
mov ebx, dword [esp + 0x94]
cmp edx, 0x18
jne 0x5dac39
mov edx, dword [ebx]
movzx edx, byte [edx + 0xb]
test dl, dl
je 0x5dac39
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.004bad70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x5daae8
mov eax, 1
lea ecx, [0x62dc6d]
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xb0]
mov dword [esp + 8], ebp
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004a54f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x5dac0f
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
call fcn.00408e00
mov eax, dword [esp + 8]
lea ecx, [0x606f80]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x5dabb6
mov ecx, dword [eax + 4]
jmp 0x5dabb8
mov ecx, eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
lea eax, [0x638e29]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c0250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0x90
ret
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
call fcn.004ba2b0
jmp 0x5dadd8
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], eax
mov edx, dword [eax + 0x78]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
cmp dword [esp + 8], 0xd
je 0x5dac58
xor eax, eax
jmp 0x5dac6f
mov dword [esp], eax
lea eax, [0x6309ed]
mov dword [esp + 4], eax
call fcn.004025c0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5dac77
xor eax, eax
jmp 0x5daca7
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
cmp dword [esp + 8], 6
jne 0x5daca5
cmp dword [eax], 0x626d754e
jne 0x5daca5
cmp word [eax + 4], 0x7265
sete al
jmp 0x5daca7
xor eax, eax
test al, al
je 0x5dadf5
mov eax, dword [esp + 0xa0]
lea ecx, [0x612d60]
cmp eax, ecx
jne 0x5daf28
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
call fcn.004a54f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x5dadb3
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
call fcn.00408e00
mov eax, dword [esp + 8]
lea ecx, [0x606f80]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x5dad5a
mov ecx, dword [eax + 4]
jmp 0x5dad5c
mov ecx, eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
lea eax, [0x63bef2]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c0250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0x90
ret
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
call fcn.004ba2b0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0x90
ret
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x70]
xor eax, eax
call fcn.0045eb78
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
call fcn.00408e00
mov eax, dword [esp + 8]
lea ecx, [0x606f80]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x5dae98
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5daeaf
mov eax, dword [eax + 4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x8c], eax
lea eax, [0x63fe27]
mov dword [esp], eax
mov dword [esp + 4], 0x41
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004c0250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0x90
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6068c0]
mov dword [esp + 8], eax
call fcn.00408a50
lea eax, [0x611440]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x633510]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
lea ecx, [0x60ac00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004337b0
lea eax, [0x611440]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x632c12]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
lea ecx, [0x60ac00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004337b0
lea eax, [0x611440]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x632415]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
lea ecx, [0x60ac00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004337b0
nop
call fcn.0045d540
jmp fcn.005da6b0