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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x1013b3bd
cmp dword [ebx + 0x58], 0
je 0x1013b3bd
mov esi, dword [ebx + 0x54]
mov dword [ebp - 0xc], esi
test esi, esi
je 0x1013b3bd
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x1013ad75
test byte [eax + 4], 1
je 0x1013ad75
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x58]
mov eax, dword [eax + 0x64]
test ecx, ecx
je 0x1013ad62
push ecx
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, dword [esi + 0x9c]
mov dword [esi + 0x58], 0
and dword [eax + 4], 0xfffffffe
jmp 0x1013ad7c
mov dword [esi + 0x58], 0
mov dword [esi + 0xc], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
push edi
movups xmmword [esi + 0x28], xmm0
movups xmmword [esi + 0x6c], xmm0
mov dword [esi + 0x7c], 0
mov ecx, dword [esi + 4]
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x54], 0
mov byte [esi + 0x5e], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
test dword [ecx + 8], 0x10000
jne 0x1013ae01
mov dword [esi + 0x98], 0
jmp 0x1013ae36
mov eax, dword [esi + 0x9c]
test byte [eax + 4], 2
je 0x1013ae36
mov edi, dword [esi + 0x98]
mov eax, dword [ecx + 0x64]
mov ecx, dword [edi]
test ecx, ecx
je 0x1013ae26
push ecx
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov dword [edi], 0
mov eax, dword [esi + 0x9c]
and dword [eax + 4], 0xfffffffd
mov dword [esi + 0x48], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov edi, dword [ebx + 0x60]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xa0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x58]
cmp word [eax + 0xc], 0
je 0x1013ae92
cmp word [eax + 0xe], 0
je 0x1013ae92
mov edx, dword [ebp + 0x10]
jmp 0x1013ae98
mov edx, dword [ebp + 0x10]
or edx, 1
mov ecx, edx
or ecx, 0x801
test edx, 0x400
cmove ecx, edx
test cl, 1
je 0x1013aeb4
and ecx, 0xfffffffb
or ecx, 0xa
mov edx, ecx
and edx, 0xfffffffb
test ecx, 0x400000
cmove edx, ecx
cmp dword [ebp - 0x10], 0
mov dword [ebp - 4], edx
je 0x1013aef9
test edx, 0x8002
jne 0x1013aef9
mov eax, dword [ebx + 8]
and eax, 0x2001
cmp eax, 1
jne 0x1013aef9
test edx, 0x800
jne 0x1013af4d
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
jne 0x1013af48
cmp dword [eax], 0
jne 0x1013af4d
mov eax, dword [edi + 0xc]
push edx
push dword [ebp + 0xc]
push dword [ebx + 0x58]
mov eax, dword [eax + 0x48]
push esi
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x1013b3b6
cmp dword [esi + 0x48], 0x6f75746c
jne 0x1013b09f
lea eax, [esi + 0x6c]
test eax, eax
je 0x1013b1e0
movzx ecx, word [eax + 2]
movzx eax, word [eax]
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x1013b0b5
test eax, eax
jmp 0x1013b0fd
cmp dword [eax], 0
jne 0x1013aef9
test dl, 0x20
jne 0x1013aff6
mov eax, dword [edi]
test dword [eax], 0x400
je 0x1013aff6
mov eax, dword [eax + 0x20]
xor ecx, ecx
test eax, eax
je 0x1013af7a
push str.font_format
push edi
call eax
add esp, 8
mov ecx, eax
push str.Type_1
push ecx
call sub.VCRUNTIME140.dll_strstr
add esp, 8
test eax, eax
je 0x1013af96
cmp dword [edi + 0x1c], 1
jne 0x1013af96
mov cl, 1
jmp 0x1013af98
xor cl, cl
mov edx, dword [ebp - 4]
mov eax, edx
and eax, 0xf0000
cmp eax, 0x10000
jne 0x1013afb7
mov eax, dword [edi]
test dword [eax], 0x800
jne 0x1013afb7
test cl, cl
je 0x1013aff6
test byte [ebx + 8], 8
je 0x1013aef9
cmp dword [ebx + 0x304], 0
je 0x1013aef9
cmp word [ebx + 0x11e], 0
jne 0x1013aef9
cmp dword [ebx + 0x2b0], 0
jne 0x1013aef9
cmp dword [ebx + 0x2b8], 0
jne 0x1013aef9
test edx, 0x1000000
jne 0x1013b034
test dword [ebx + 8], 0x10000
je 0x1013b034
mov ecx, dword [edi + 0xc]
mov eax, edx
or eax, 0x800000
push eax
push dword [ebp + 0xc]
mov eax, dword [ecx + 0x48]
push dword [ebx + 0x58]
push esi
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x1013b031
cmp dword [esi + 0x48], 0x53564720
je 0x1013b09f
mov edx, dword [ebp - 4]
test byte [ebx + 8], 2
je 0x1013b068
test dl, 8
jne 0x1013b068
mov ecx, dword [edi + 0xc]
or edx, 0x4000
push edx
push dword [ebp + 0xc]
push dword [ebx + 0x58]
mov eax, dword [ecx + 0x48]
push esi
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x1013b068
cmp dword [esi + 0x48], 0x62697473
je 0x1013b09f
mov ebx, dword [ebx + 0x80]
mov edx, dword [ebp - 0x10]
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edi, dword [ebx + 0x18]
push dword [ebp + 0xc]
mov dword [ebx + 0x18], 0
mov eax, dword [edx]
push dword [ecx + 0x58]
push esi
mov eax, dword [eax + 0x14]
push edx
mov eax, dword [eax + 0xc]
call eax
mov dword [ebx + 0x18], edi
add esp, 0x14
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
test cl, 0x10
je 0x1013b1ec
mov eax, dword [esi + 0x34]
xor edx, edx
jmp 0x1013b1f1
test eax, eax
je 0x1013b1e0
or edi, 0xffffffff
xor edx, edx
test eax, eax
je 0x1013b0f8
mov ecx, dword [esi + 0x78]
nop dword [eax]
movzx eax, word [ecx]
cmp eax, edi
jle 0x1013b1e0
cmp eax, dword [ebp - 0x10]
jae 0x1013b1e0
mov ebx, dword [ebp + 8]
mov edi, eax
movzx eax, word [esi + 0x6c]
inc edx
add ecx, 2
cmp edx, eax
jl 0x1013b0d0
mov ecx, dword [ebp - 0x10]
lea eax, [ecx - 1]
cmp edi, eax
jne 0x1013b1e0
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ebp - 8], eax
test cl, 2
jne 0x1013b0a2
mov edi, dword [esi + 0x2c]
lea eax, [esi + 0x1c]
mov dword [ebp - 0x2c], eax
lea edx, [esi + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], edi
mov edi, dword [edx]
mov eax, dword [ebp - 0x14]
and eax, 0xffffffc0
mov dword [ebp - 0x28], edx
mov dword [esi + 0x2c], eax
mov dword [ebp - 0x34], eax
lea edx, [edi + 0x3f]
mov eax, dword [esi + 0x30]
and edx, 0xffffffc0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
and eax, 0xffffffc0
mov dword [ebp - 0x24], edx
mov dword [esi + 0x20], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
and eax, 0xffffffc0
mov dword [ebp - 0x30], eax
mov dword [esi + 0x30], eax
mov eax, ecx
shr eax, 4
test al, 1
je 0x1013b18d
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
add eax, 0x3f
add edx, eax
mov eax, dword [esi + 0x18]
add eax, 0x3f
and edx, 0xffffffc0
add eax, dword [ebp - 0x14]
sub edx, dword [ebp - 0x30]
and eax, 0xffffffc0
sub eax, dword [ebp - 0x34]
jmp 0x1013b1b3
sub edi, dword [ebp - 0x18]
lea eax, [esi + 0x1c]
mov dword [ebp - 0x2c], eax
lea ebx, [esi + 0x24]
mov eax, dword [esi + 0x18]
and edi, 0xffffffc0
add eax, 0x3f
mov dword [ebp - 0x28], ebx
add eax, dword [ebp - 0x20]
sub edx, edi
mov ebx, dword [ebp + 8]
and eax, 0xffffffc0
sub eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov dword [ecx], edi
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
mov eax, dword [esi + 0x28]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x34]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 0x34], eax
jmp 0x1013b09f
pop edi
pop esi
mov eax, 0x14
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x28]
xor eax, eax
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], eax
test ecx, 0x2000
jne 0x1013b22e
test byte [ebx + 8], 1
je 0x1013b22e
mov edi, dword [ebx + 0x58]
push 0x40
push dword [edi + 0x10]
push dword [esi + 0x38]
call fcn.1013b9b0
push 0x40
mov dword [esi + 0x38], eax
push dword [edi + 0x14]
push dword [esi + 0x3c]
call fcn.1013b9b0
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [esi + 0x3c], eax
test ecx, 0x800
jne 0x1013b32f
mov ebx, dword [ebx + 0x80]
cmp dword [ebx + 0x18], 0
je 0x1013b32f
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x9c]
test edx, edx
je 0x1013b265
mov eax, dword [edx + 0x10]
cmp eax, dword [esi + 0x48]
je 0x1013b28b
mov eax, dword [ecx + 0x94]
xor edx, edx
mov edi, dword [esi + 0x48]
test eax, eax
je 0x1013b287
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x10], edi
je 0x1013b285
mov eax, dword [eax + 4]
test eax, eax
jne 0x1013b274
jmp 0x1013b287
mov edx, ecx
test edx, edx
je 0x1013b2a5
mov ecx, dword [edx + 0xc]
lea eax, [ebx + 0x10]
push eax
push ebx
push esi
mov eax, dword [ecx + 0x2c]
push edx
call eax
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x1013b322
cmp dword [esi + 0x48], 0x6f75746c
jne 0x1013b322
test byte [ebx + 0x18], 1
je 0x1013b2e4
lea eax, [esi + 0x6c]
test eax, eax
je 0x1013b2e4
mov edi, dword [eax + 4]
test edi, edi
je 0x1013b2e4
movzx eax, word [eax + 2]
lea eax, [edi + eax*8]
cmp edi, eax
jae 0x1013b2e4
mov esi, eax
nop
push ebx
push edi
call fcn.1013e730
add edi, 8
add esp, 8
cmp edi, esi
jb 0x1013b2d0
mov esi, dword [ebp - 0xc]
test byte [ebx + 0x18], 2
je 0x1013b322
mov eax, dword [ebx + 0x10]
lea edx, [esi + 0x6c]
mov edi, dword [ebx + 0x14]
mov dword [ebp + 8], eax
test edx, edx
je 0x1013b322
mov eax, dword [edx + 4]
xor esi, esi
xor ecx, ecx
cmp si, word [edx + 2]
mov esi, dword [ebp - 0xc]
jae 0x1013b322
mov esi, dword [ebp + 8]
nop dword [eax]
add dword [eax], esi
lea eax, [eax + 8]
add dword [eax - 4], edi
inc ecx
cmp cx, word [edx + 2]
jb 0x1013b310
mov esi, dword [ebp - 0xc]
lea eax, [esi + 0x40]
push ebx
push eax
call fcn.1013e730
add esp, 8
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x9c]
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1013b3b6
test bl, 1
jne 0x1013b3b6
mov ecx, dword [esi + 0x48]
cmp ecx, 0x62697473
je 0x1013b3b6
cmp ecx, 0x636f6d70
je 0x1013b3b6
mov ecx, ebx
sar ecx, 0x10
and ecx, 0xf
jne 0x1013b378
test ebx, 0x1000
mov eax, 2
cmovne ecx, eax
test bl, 4
je 0x1013b3a7
mov eax, dword [esi + 4]
test eax, eax
je 0x1013b39b
mov eax, dword [eax + 0x60]
push ecx
push esi
push dword [eax + 4]
call fcn.1013d020
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push ecx
push esi
call fcn.1013f5d0
mov eax, dword [ebp - 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 0x23
pop ebx
mov esp, ebp
pop ebp
ret