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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x288
mov eax, dword [0x1002f008]
xor eax, esp
mov dword [esp + 0x284], eax
movsd xmm3, qword [0x1002cbd0]
movsd xmm0, qword [0x1002cb78]
movsd xmm4, qword [0x1002cb80]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x34], ecx
movsd qword [esp + 0x60], xmm3
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x70], xmm4
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
test al, 3
jne 0x5d2918
mov esi, dword [eax]
mov ecx, esi
mov eax, esi
not ecx
xor eax, 0x25252525
and ecx, 0x80808080
sub eax, 0x1010101
test ecx, eax
jne 0x5d2914
lea eax, [esi - 0x1010101]
test ecx, eax
mov eax, dword [esp + 0x18]
jne 0x5d2932
add eax, 4
mov dword [edx], esi
mov dword [esp + 0x18], eax
add edx, 4
mov dword [esp + 0x20], edx
mov esi, dword [eax]
mov ecx, esi
mov eax, esi
not ecx
xor eax, 0x25252525
and ecx, 0x80808080
sub eax, 0x1010101
test ecx, eax
je 0x5d28da
mov eax, dword [esp + 0x18]
mov al, byte [eax]
mov cl, al
cmp al, 0x25
je 0x5d2938
test cl, cl
je 0x5d4028
mov byte [edx], al
inc edx
mov eax, dword [esp + 0x18]
inc eax
jmp 0x5d28b2
mov al, byte [eax]
mov cl, al
jmp 0x5d2920
mov eax, dword [esp + 0x18]
or edi, 0xffffffff
inc eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
movsx ecx, byte [eax]
sub ecx, 0x20
mov dword [esp + 0x50], 0
cmp ecx, 0x3f
ja 0x5d2a16
mov esi, dword [esp + 0x10]
nop word [eax + eax]
movzx eax, byte [ecx + 0x10002840]
jmp dword [eax*4 + 0x1000281c]
xor esi, esi
mov ecx, dword [esp + 0x18]
mov al, byte [ecx]
mov dword [esp + 0x24], esi
cmp al, 0x2a
jne 0x5d2a41
mov eax, dword [esp + 0x34]
add eax, 4
inc ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
mov eax, dword [eax - 4]
mov dword [esp + 0x4c], eax
mov al, byte [ecx]
jmp 0x5d2a77
cmp al, 0x30
jl 0x5d2a77
mov esi, dword [esp + 0x4c]
mov ah, al
mov al, ah
cmp ah, 0x39
jg 0x5d2a6f
movsx eax, ah
lea ecx, [esi - 6]
lea ecx, [esi + ecx*4]
lea esi, [eax + ecx*2]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
mov al, byte [ecx]
mov ah, al
cmp al, 0x30
jge 0x5d2a4b
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x24]
cmp al, 0x2e
jne 0x5d2ad2
mov al, byte [ecx + 1]
inc ecx
mov dword [esp + 0x18], ecx
cmp al, 0x2a
jne 0x5d2a9e
mov eax, dword [esp + 0x34]
add eax, 4
inc ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
mov edi, dword [eax - 4]
mov al, byte [ecx]
jmp 0x5d2ace
xor edi, edi
mov dword [esp + 0xc], edi
cmp al, 0x30
jl 0x5d2ad2
mov ah, al
mov al, ah
cmp ah, 0x39
jg 0x5d2ace
movsx eax, ah
lea ecx, [edi - 6]
lea ecx, [edi + ecx*4]
lea edi, [eax + ecx*2]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
mov al, byte [ecx]
mov ah, al
cmp al, 0x30
jge 0x5d2aaa
mov dword [esp + 0xc], edi
movsx eax, al
add eax, 0xffffffb7
cmp eax, 0x31
ja 0x5d2b25
movzx eax, byte [eax + 0x10002898]
jmp dword [eax*4 + 0x10002880]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
movsx eax, cl
add eax, 0xffffffbf
mov byte [esp + 0x4b], cl
cmp eax, 0x37
ja 0x5d3bf0
movzx eax, byte [eax + 0x10002900]
jmp dword [eax*4 + 0x100028cc]
mov byte [esp + 0x287], cl
mov dword [esp + 0x10], 0
mov dword [esp + 0x4c], 0
xor ch, ch
mov dword [esp + 0x14], 0
lea esi, [esp + 0x287]
mov dword [esp + 0x3c], 0
mov byte [esp + 0x80], ch
mov byte [esp + 0x78], ch
mov dword [esp + 0x1c], 1
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x1c]
movsx eax, byte [esp + 0x80]
add eax, dword [esp + 0x50]
movsx ecx, ch
add ecx, eax
mov eax, dword [esp + 0x4c]
add ecx, edi
cmp eax, ecx
cmovl eax, ecx
sub edi, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
test cl, 1
jne 0x5d3c8b
test cl, 0x10
je 0x5d3c84
cmp eax, edi
cmovg edi, eax
xor eax, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x4c], eax
jmp 0x5d3c8b
and ecx, 0xffffffbf
mov dword [esp + 0x10], ecx
add eax, edi
je 0x5d3e4e
test cl, 1
jne 0x5d3d27
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x5d3d27
mov ecx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], 0
test ecx, ecx
je 0x5d3cd0
test dl, 3
je 0x5d3cc8
mov byte [edx], 0x20
inc edx
sub ecx, 1
jne 0x5d3cba
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], edx
cmp ecx, 4
jl 0x5d3d02
mov edi, dword [esp + 0x20]
mov edx, ecx
shr edx, 2
mov eax, 0x20202020
mov ecx, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
lea eax, [edx*4]
mov edx, dword [esp + 0x20]
add edx, eax
sub ecx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x5d3d27
mov edi, edx
mov eax, 0x20202020
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
add edx, dword [esp + 0x30]
rep stosb byte es:[edi], al
mov dword [esp + 0x20], edx
mov cl, byte [esp + 0x78]
lea eax, [esp + 0x79]
mov dword [esp + 0x38], eax
test cl, cl
je 0x5d3d78
nop
movsx edx, cl
sub cl, dl
mov dword [esp + 0x24], edx
test edx, edx
mov byte [esp + 0x78], cl
mov edx, dword [esp + 0x20]
je 0x5d3d74
mov ecx, dword [esp + 0x24]
nop dword [eax]
mov al, byte [eax]
mov byte [edx], al
inc edx
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
sub ecx, 1
jne 0x5d3d59
mov cl, byte [esp + 0x78]
mov dword [esp + 0x20], edx
test cl, cl
jne 0x5d3d39
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shr edi, 0x18
and eax, 0x40
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
je 0x5d3dae
mov eax, dword [esp + 0x14]
lea ecx, [edi + 1]
and eax, 0xffffff
xor edx, edx
add eax, dword [esp + 0xc]
div ecx
mov eax, edi
sub eax, edx
mov edx, dword [esp + 0x20]
jmp 0x5d3db0
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], eax
test ecx, ecx
jle 0x5d3e4e
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5d3e15
nop
test dl, 3
je 0x5d3dd7
mov byte [edx], 0x30
inc edx
sub ecx, 1
jne 0x5d3dc9
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], edx
cmp ecx, 4
jl 0x5d3e15
mov edi, dword [esp + 0x20]
mov edx, ecx
shr edx, 2
mov eax, 0x30303030
mov ecx, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
lea eax, [edx*4]
mov edx, dword [esp + 0x20]
add edx, eax
sub ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x5d3e4e
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x5d3e32
mov eax, ecx
inc ecx
cmp eax, esi
jne 0x5d3e32
xor ecx, ecx
mov al, 0x2c
jmp 0x5d3e34
mov al, 0x30
sub dword [esp + 0xc], 1
lea edi, [edx + 1]
mov byte [edx], al
mov edx, edi
mov eax, dword [esp + 0x24]
jne 0x5d3e21
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov cl, byte [esp + 0x78]
lea eax, [esp + 0x79]
mov dword [esp + 0x38], eax
test cl, cl
je 0x5d3e98
movsx edx, cl
sub cl, dl
mov dword [esp + 0x24], edx
test edx, edx
mov byte [esp + 0x78], cl
mov edx, dword [esp + 0x20]
je 0x5d3e94
mov ecx, dword [esp + 0x24]
nop
mov al, byte [eax]
mov byte [edx], al
inc edx
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
sub ecx, 1
jne 0x5d3e79
mov cl, byte [esp + 0x78]
mov dword [esp + 0x20], edx
test cl, cl
jne 0x5d3e5e
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5d3ee8
cmp ecx, 4
jl 0x5d3ecc
mov edi, ecx
shr edi, 2
lea eax, [edi*4]
sub ecx, eax
nop word [eax + eax]
mov eax, dword [esi]
add esi, 4
mov dword [edx], eax
add edx, 4
sub edi, 1
jne 0x5d3eb9
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x5d3ee8
sub esi, edx
nop dword [eax]
mov al, byte [esi + edx]
mov byte [edx], al
inc edx
sub ecx, 1
jne 0x5d3ed9
mov dword [esp + 0x20], edx
mov esi, dword [esp + 0x50]
test esi, esi
je 0x5d3f51
test dl, 3
je 0x5d3efe
mov byte [edx], 0x30
inc edx
sub esi, 1
jne 0x5d3ef0
mov dword [esp + 0x20], edx
cmp esi, 4
jl 0x5d3f2c
mov edi, dword [esp + 0x20]
mov edx, esi
shr edx, 2
mov eax, 0x30303030
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov edx, dword [esp + 0x20]
add edx, eax
sub esi, eax
mov dword [esp + 0x20], edx
test esi, esi
je 0x5d3f51
mov edi, edx
mov ecx, esi
mov edx, ecx
mov eax, 0x30303030
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
add edx, esi
rep stosb byte es:[edi], al
mov dword [esp + 0x20], edx
cmp byte [esp + 0x80], 0
lea ecx, [esp + 0x81]
mov dword [esp + 0x38], ecx
je 0x5d3fa3
nop dword [eax]
movsx eax, byte [esp + 0x80]
sub byte [esp + 0x80], al
mov dword [esp + 0x24], eax
test eax, eax
je 0x5d3f99
mov al, byte [ecx]
mov byte [edx], al
inc edx
mov ecx, dword [esp + 0x38]
inc ecx
sub dword [esp + 0x24], 1
mov dword [esp + 0x38], ecx
jne 0x5d3f80
mov dword [esp + 0x20], edx
cmp byte [esp + 0x80], 0
jne 0x5d3f69
test byte [esp + 0x10], 1
je 0x5d401a
mov esi, dword [esp + 0x4c]
test esi, esi
jle 0x5d401a
nop dword [eax]
test dl, 3
je 0x5d3fc7
mov byte [edx], 0x20
inc edx
sub esi, 1
jne 0x5d3fb9
mov dword [esp + 0x20], edx
cmp esi, 4
jl 0x5d3ff5
mov edi, dword [esp + 0x20]
mov edx, esi
shr edx, 2
mov eax, 0x20202020
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
mov edx, dword [esp + 0x20]
add edx, eax
sub esi, eax
mov dword [esp + 0x20], edx
test esi, esi
je 0x5d401a
mov edi, edx
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x20]
and ecx, 3
add edx, esi
rep stosb byte es:[edi], al
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
inc eax
jmp 0x5d28b6
mov byte [edx], 0
mov ecx, dword [esp + 0x28c]
sub edx, edi
pop edi
pop esi
xor ecx, esp
mov eax, edx
call fcn.005e602d
mov esp, ebp
pop ebp
ret