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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add ebx, 1
cmp ebx, esi
je 0x5145d7
mov edi, dword [ebp + 0x10]
mov al, byte [ebx]
cmp al, 0x7b
je 0x513c55
cmp al, 0x7d
jne 0x513c82
mov edx, dword [edi + 0xc]
test edx, edx
js 0x5145d7
lea eax, [edx + 1]
mov dword [edi + 0xc], eax
mov esi, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
test eax, eax
js 0x513d45
cmp edx, 0xe
fldz
ja 0x5145d5
fstp st(0)
lea ecx, [edx*4]
shrd esi, eax, cl
shr eax, cl
test cl, 0x20
cmove eax, esi
and eax, 0xf
fldz
je 0x5145d5
fstp st(0)
mov ecx, dword [edi + 0x20]
shl edx, 4
fld xword [ecx + edx]
fld st(0)
fstp xword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 8], ecx
mov esi, dword [esp + 0xa4]
jmp 0x513d81
mov esi, dword [edi + 0x10]
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dl, 0x7b
cmp dword [esi + 0xc], eax
jae 0x513c74
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx]
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dl, byte [ebx]
mov edi, dword [esi + 4]
mov dword [esi + 8], eax
mov byte [edi + ecx], dl
jmp 0x5144fb
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 0
lea eax, [esp + 0x54]
push eax
push esi
push ebx
call fcn.00514830
add esp, 0xc
cmp eax, esi
je 0x5145d7
movsx ecx, byte [eax]
cmp ecx, 0x3a
je 0x513d1d
cmp ecx, 0x7d
jne 0x5145d7
mov edx, dword [esp + 0x58]
mov esi, dword [edi + 0x18]
mov ebx, dword [edi + 0x1c]
test ebx, ebx
js 0x513e41
cmp edx, 0xe
fldz
jg 0x5145d5
fstp st(0)
lea ecx, [edx*4]
shrd esi, ebx, cl
shr ebx, cl
test cl, 0x20
cmove ebx, esi
and ebx, 0xf
fldz
je 0x5145d5
fstp st(0)
mov ecx, dword [edi + 0x20]
shl edx, 4
fld xword [ecx + edx]
fld st(0)
fstp xword [esp + 0x80]
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x84]
jmp 0x513e7d
add eax, 1
mov ecx, edi
push esi
push eax
push dword [esp + 0x60]
call fcn.005149f0
cmp eax, esi
je 0x5145d7
mov ebx, eax
cmp byte [eax], 0x7d
je 0x5144fb
jmp 0x5145d7
cmp edx, esi
fldz
jge 0x5145d5
fstp st(0)
mov eax, dword [edi + 0x20]
lea ecx, [edx + edx*2]
fld xword [eax + ecx*8]
fld st(0)
fstp xword [esp + 0xb0]
mov eax, dword [eax + ecx*8 + 0x10]
test eax, eax
je 0x5145d5
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
mov esi, dword [esp + 0xb4]
mov edx, edi
mov edi, dword [edi + 0x10]
mov dword [esp + 0x60], edi
movsd xmm0, qword [edx + 0x18]
movsd qword [esp + 0x68], xmm0
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x70], ecx
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x78], ecx
add eax, 0xffffffff
cmp eax, 0xe
ja case.0x513eaf.4
mov dword [esp + 0x50], ebx
jmp dword [eax*4 + 0x514634]
fstp st(0)
mov esi, dword [esp + 8]
mov eax, esi
or eax, 1
bsr eax, eax
movzx eax, word [eax + eax + 0x573d40]
cmp esi, dword [eax*4 + 0x573128]
sbb eax, 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov word [esp + 0x18], 0
mov dword [esp + 0xc], eax
lea ecx, [esp + eax]
add ecx, 0x10
cmp esi, 0x64
jb 0x514192
nop word cs:[eax + eax]
nop
mov eax, esi
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
mov ebx, esi
sub ebx, eax
movzx eax, word [ebx + ebx + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990123456789abcdef]
mov word [ecx - 2], ax
add ecx, 0xfffffffe
cmp esi, 0x270f
mov esi, edx
ja 0x513e10
jmp 0x514194
cmp edx, esi
fldz
jge 0x5145d5
fstp st(0)
mov esi, dword [edi + 0x20]
lea ecx, [edx + edx*2]
fld xword [esi + ecx*8]
fld st(0)
fstp xword [esp + 0x90]
mov ebx, dword [esi + ecx*8 + 0x10]
test ebx, ebx
je 0x5145d5
mov ecx, dword [esp + 0x90]
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x94]
mov edx, edi
mov edi, dword [edi + 0x10]
mov dword [esp + 0x60], edi
movsd xmm0, qword [edx + 0x18]
movsd qword [esp + 0x68], xmm0
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x70], ecx
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x78], ecx
add ebx, 0xffffffff
cmp ebx, 0xe
ja case.0x513eaf.4
mov dword [esp + 0x50], eax
jmp dword [ebx*4 + 0x514670]
fstp st(0)
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
push dword [esp + 8]
push eax
call fcn.00515090
jmp 0x513f26
fstp st(0)
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
push esi
push dword [esp + 0xc]
push eax
call fcn.005151c0
jmp 0x513fa4
fstp st(0)
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
cmp dword [edi + 0xc], eax
jae 0x513f00
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
mov ebx, dword [esp + 8]
mov edx, dword [edi + 4]
mov dword [edi + 8], eax
mov byte [edx + ecx], bl
jmp 0x5144f7
fstp st(0)
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
push dword [esp + 8]
push eax
call fcn.00515360
add esp, 8
jmp 0x5144f7
fstp st(0)
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
push esi
push dword [esp + 0xc]
push eax
call fcn.00516370
jmp 0x513fa4
fstp st(0)
lea ecx, [esp + 0x60]
push dword [esp + 8]
call fcn.00514fe0
jmp 0x5144f7
fstp st(0)
lea eax, [esp + 0x68]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
push ecx
push dword [esp + 0x10]
call esi
add esp, 0xc
jmp 0x5144f7
fstp st(0)
mov dword [esp + 0x38], edi
mov ebx, dword [esp + 8]
mov eax, ebx
or eax, 1
bsr ecx, esi
xor ecx, 0x1f
bsr eax, eax
xor eax, 0x1f
or eax, 0x20
test esi, esi
cmovne eax, ecx
xor eax, 0x3f
movzx ecx, word [eax + eax + 0x573d40]
cmp ebx, dword [ecx*8 + 0x573158]
mov eax, esi
sbb eax, dword [ecx*8 + 0x57315c]
sbb ecx, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], ecx
lea edi, [esp + ecx]
add edi, 0x10
cmp ebx, 0x64
mov eax, esi
sbb eax, 0
jb 0x5141a1
nop word cs:[eax + eax]
nop
mov dword [esp + 0xc], esi
lea eax, [edi - 2]
mov dword [esp + 8], eax
push 0
push 0x64
push esi
push ebx
call fcn.004a1800
add esp, 0x10
imul ecx, eax, 0x64
mov esi, ebx
sub ebx, ecx
movzx ecx, word [ebx + ebx + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990123456789abcdef]
mov word [edi - 2], cx
mov ecx, 0x270f
cmp ecx, esi
mov ecx, 0
sbb ecx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, eax
mov esi, edx
mov edi, ecx
jb 0x514020
jmp 0x5141a7
fstp st(0)
xor ecx, ecx
cmp byte [esp + 8], 0
sete cl
mov eax, 0x572f7f
mov edx, 0x572f7a
cmove edx, eax
mov dword [esp + 0xc], edx
or ecx, 4
mov esi, ecx
xor ebx, ebx
jmp 0x5140be
mov edx, dword [edi + 4]
mov dword [edi + 8], eax
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + ebx]
mov byte [edx + ecx], al
add ebx, 1
mov eax, esi
cmp esi, ebx
je 0x5144f7
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
cmp dword [edi + 0xc], eax
jae 0x5140a0
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
jmp 0x5140a0
mov dword [esp + 0x40], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0x200000
mov word [esp + 0x1c], 0
mov byte [esp + 0x1e], 1
mov dword [esp + 0x54], 0
sub esp, 0x24
mov eax, dword [esp + 0x78]
jmp 0x514452
fstp st(0)
mov dword [esp + 0xc], esi
test esi, esi
je 0x5144f7
xor esi, esi
jmp 0x51414e
mov edx, dword [esp + 8]
movzx edx, byte [edx + esi]
mov ebx, dword [edi + 4]
mov dword [edi + 8], eax
mov byte [ebx + ecx], dl
add esi, 1
cmp dword [esp + 0xc], esi
je 0x5144f7
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
cmp dword [edi + 0xc], eax
jae 0x514130
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
jmp 0x514130
fstp st(0)
xor eax, eax
mov esi, dword [esp + 8]
mov ecx, esi
mov edx, esi
nop word cs:[eax + eax]
nop
add eax, 1
shr edx, 4
cmp ecx, 0xf
mov ecx, edx
ja 0x514180
jmp 0x5144dd
mov edx, esi
cmp edx, 9
ja 0x5141bd
add dl, 0x30
mov byte [ecx - 1], dl
jmp 0x5141c9
mov ecx, edi
mov eax, ebx
mov edx, esi
mov ebx, ecx
xor ecx, ecx
mov esi, 9
cmp esi, eax
sbb ecx, edx
jb 0x514215
add al, 0x30
mov byte [ebx - 1], al
jmp 0x514221
movzx eax, word [edx + edx + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990123456789abcdef]
mov word [ecx - 2], ax
cmp dword [esp + 0xc], 0
je 0x5144f7
xor ebx, ebx
jmp 0x5141fb
movzx edx, byte [esp + ebx + 0x10]
mov esi, dword [edi + 4]
mov dword [edi + 8], eax
mov byte [esi + ecx], dl
add ebx, 1
cmp dword [esp + 0xc], ebx
je 0x5144f7
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
cmp dword [edi + 0xc], eax
jae 0x5141e0
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
jmp 0x5141e0
movzx eax, word [eax + eax + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990123456789abcdef]
mov word [ebx - 2], ax
mov edi, dword [esp + 0x38]
cmp dword [esp + 0x3c], 0
je 0x5144f7
xor esi, esi
jmp 0x51425b
movzx edx, byte [esp + esi + 0x10]
mov ebx, dword [edi + 4]
mov dword [edi + 8], eax
mov byte [ebx + ecx], dl
add esi, 1
cmp dword [esp + 0x3c], esi
je 0x5144f7
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
cmp dword [edi + 0xc], eax
jae 0x514240
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
jmp 0x514240
fstp st(0)
mov esi, dword [esp + 8]
mov eax, esi
or eax, 1
bsr eax, eax
movzx eax, word [eax + eax + 0x573d40]
cmp esi, dword [eax*4 + 0x573128]
sbb eax, 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov word [esp + 0x18], 0
mov dword [esp + 0xc], eax
lea ecx, [esp + eax]
add ecx, 0x10
cmp esi, 0x64
jb 0x514508
nop
mov eax, esi
mov edx, 0x51eb851f
mul edx
shr edx, 5
imul eax, edx, 0x64
mov ebx, esi
sub ebx, eax
movzx eax, word [ebx + ebx + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990123456789abcdef]
mov word [ecx - 2], ax
add ecx, 0xfffffffe
cmp esi, 0x270f
mov esi, edx
ja 0x5142c0
jmp 0x51450a
fstp st(0)
mov dword [esp + 0x38], edi
mov ebx, dword [esp + 8]
mov eax, ebx
or eax, 1
bsr ecx, esi
xor ecx, 0x1f
bsr eax, eax
xor eax, 0x1f
or eax, 0x20
test esi, esi
cmovne eax, ecx
xor eax, 0x3f
movzx ecx, word [eax + eax + 0x573d40]
cmp ebx, dword [ecx*8 + 0x573158]
mov eax, esi
sbb eax, dword [ecx*8 + 0x57315c]
sbb ecx, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], ecx
lea edi, [esp + ecx]
add edi, 0x10
cmp ebx, 0x64
mov eax, esi
sbb eax, 0
jb 0x514517
nop word [eax + eax]
mov dword [esp + 0xc], esi
lea eax, [edi - 2]
mov dword [esp + 8], eax
push 0
push 0x64
push esi
push ebx
call fcn.004a1800
add esp, 0x10
imul ecx, eax, 0x64
mov esi, ebx
sub ebx, ecx
movzx ecx, word [ebx + ebx + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990123456789abcdef]
mov word [edi - 2], cx
mov ecx, 0x270f
cmp ecx, esi
mov ecx, 0
sbb ecx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, eax
mov esi, edx
mov edi, ecx
jb 0x514360
jmp 0x51451d
fstp st(0)
xor ecx, ecx
cmp byte [esp + 8], 0
sete cl
mov eax, 0x572f7f
mov edx, 0x572f7a
cmove edx, eax
mov dword [esp + 0xc], edx
or ecx, 4
mov esi, ecx
xor ebx, ebx
jmp 0x5143fe
mov edx, dword [edi + 4]
mov dword [edi + 8], eax
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + ebx]
mov byte [edx + ecx], al
add ebx, 1
mov eax, esi
cmp esi, ebx
je 0x5144f7
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
cmp dword [edi + 0xc], eax
jae 0x5143e0
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
jmp 0x5143e0
mov dword [esp + 0x40], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0x200000
mov word [esp + 0x1c], 0
mov byte [esp + 0x1e], 1
mov dword [esp + 0x5c], 0
sub esp, 0x24
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], eax
movups xmm0, xmmword [esp + 0x34]
movups xmmword [esp + 0x10], xmm0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
fstp xword [esp + 4]
call fcn.00517090
add esp, 0x24
jmp 0x5144f7
fstp st(0)
mov dword [esp + 0xc], esi
test esi, esi
je 0x5144f7
xor esi, esi
jmp 0x5144aa
mov edx, dword [esp + 8]
movzx edx, byte [edx + esi]
mov ebx, dword [edi + 4]
mov dword [edi + 8], eax
mov byte [ebx + ecx], dl
add esi, 1
cmp dword [esp + 0xc], esi
je 0x5144f7
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
cmp dword [edi + 0xc], eax
jae 0x514490
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
jmp 0x514490
fstp st(0)
xor eax, eax
mov esi, dword [esp + 8]
mov ecx, esi
mov edx, esi
add eax, 1
shr edx, 4
cmp ecx, 0xf
mov ecx, edx
ja 0x5144d0
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
call fcn.00517fe0
mov ebx, dword [esp + 0x50]
add ebx, 1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, esi
cmp edx, 9
ja 0x514533
add dl, 0x30
mov byte [ecx - 1], dl
jmp 0x51453f
mov ecx, edi
mov eax, ebx
mov edx, esi
mov ebx, ecx
xor ecx, ecx
mov esi, 9
cmp esi, eax
sbb ecx, edx
jb 0x514581
add al, 0x30
mov byte [ebx - 1], al
jmp 0x51458d
movzx eax, word [edx + edx + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990123456789abcdef]
mov word [ecx - 2], ax
cmp dword [esp + 0xc], 0
je 0x5144f7
xor ebx, ebx
jmp 0x514567
movzx edx, byte [esp + ebx + 0x10]
mov esi, dword [edi + 4]
mov dword [edi + 8], eax
mov byte [esi + ecx], dl
add ebx, 1
cmp dword [esp + 0xc], ebx
je 0x5144f7
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
cmp dword [edi + 0xc], eax
jae 0x514550
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
jmp 0x514550
movzx eax, word [eax + eax + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990123456789abcdef]
mov word [ebx - 2], ax
mov edi, dword [esp + 0x38]
cmp dword [esp + 0x3c], 0
je 0x5144f7
xor esi, esi
jmp 0x5145bb
movzx edx, byte [esp + esi + 0x10]
mov ebx, dword [edi + 4]
mov dword [edi + 8], eax
mov byte [ebx + ecx], dl
add esi, 1
cmp dword [esp + 0x3c], esi
je 0x5144f7
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
cmp dword [edi + 0xc], eax
jae 0x5145a0
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
jmp 0x5145a0
fstp st(0)
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 0x10], 0x572e6c
mov dword [esp + 0xc], 0xab1
mov dword [esp + 8], str.external_fmtlib_include_fmt_format_inl.h
call fcn.0050a710
add esp, 0x14
call fcn.004949d0
fstp st(0)
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 0x10], 0x572e6c
mov dword [esp + 0xc], 0x7d7
mov dword [esp + 8], str.external_fmtlib_include_fmt_format.h
jmp 0x5145fd