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

Disassembly:
sub esp, 0x24
push ebp
mov ebp, dword [esp + 0x2c]
push esi
test ebp, ebp
je 0x100d7f0e
cmp dword [ebp + 0x58], 0
je 0x100d7f0e
mov esi, dword [ebp + 0x54]
test esi, esi
je 0x100d7f0e
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x100d78d0
test byte [eax + 4], 1
je 0x100d78d0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x58]
mov eax, dword [eax + 0x64]
test ecx, ecx
je 0x100d78bd
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 0x100d78d7
mov dword [esi + 0x58], 0
mov dword [esi + 0xc], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
push ebx
movups xmmword [esi + 0x28], xmm0
push edi
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 0x100d795d
mov dword [esi + 0x98], 0
jmp 0x100d7992
mov eax, dword [esi + 0x9c]
test byte [eax + 4], 2
je 0x100d7992
mov edi, dword [esi + 0x98]
mov eax, dword [ecx + 0x64]
mov ecx, dword [edi]
test ecx, ecx
je 0x100d7982
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 + 0x28], 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 [ebp + 0x60]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xa0]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x58]
cmp word [eax + 0xc], 0
je 0x100d79f0
cmp word [eax + 0xe], 0
je 0x100d79f0
mov edx, dword [esp + 0x40]
jmp 0x100d79f7
mov edx, dword [esp + 0x40]
or edx, 1
mov ecx, edx
or ecx, 0x801
test edx, 0x400
cmove ecx, edx
test cl, 1
je 0x100d7a13
and ecx, 0xfffffffb
or ecx, 0xa
mov ebx, ecx
and ebx, 0xfffffffb
test ecx, 0x400000
cmove ebx, ecx
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
je 0x100d7a5a
test ebx, 0x8002
jne 0x100d7a5a
mov eax, dword [ebp + 8]
and eax, 0x2001
cmp eax, 1
jne 0x100d7a5a
test ebx, 0x800
jne 0x100d7ab1
mov eax, dword [ebp + 0x80]
cmp dword [eax + 8], 0
jne 0x100d7aac
cmp dword [eax], 0
jne 0x100d7ab1
mov eax, dword [edi + 0xc]
push ebx
push dword [esp + 0x40]
push dword [ebp + 0x58]
mov eax, dword [eax + 0x48]
push esi
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100d7f06
cmp dword [esi + 0x48], 0x6f75746c
jne 0x100d7d11
lea ecx, [esi + 0x6c]
test ecx, ecx
je 0x100d7ee9
movsx eax, word [ecx + 2]
movsx ecx, word [ecx]
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x100d7c09
test ecx, ecx
jmp 0x100d7c4e
cmp dword [eax], 0
jne 0x100d7a5a
test bl, 0x20
jne 0x100d7b57
mov eax, dword [edi]
test dword [eax], 0x400
je 0x100d7b57
mov eax, dword [eax + 0x20]
xor ecx, ecx
test eax, eax
je 0x100d7ade
push str.font_format
push edi
call eax
add esp, 8
mov ecx, eax
push str.Type_1
push ecx
call fcn.101f6de0
add esp, 8
test eax, eax
je 0x100d7afa
cmp dword [edi + 0x1c], 1
jne 0x100d7afa
mov cl, 1
jmp 0x100d7afc
xor cl, cl
mov eax, ebx
and eax, 0xf0000
cmp eax, 0x10000
jne 0x100d7b18
mov eax, dword [edi]
test dword [eax], 0x800
jne 0x100d7b18
test cl, cl
je 0x100d7b57
test byte [ebp + 8], 8
je 0x100d7a5a
cmp dword [ebp + 0x2f8], 0
je 0x100d7a5a
cmp word [ebp + 0x11e], 0
jne 0x100d7a5a
cmp dword [ebp + 0x2ac], 0
jne 0x100d7a5a
cmp dword [ebp + 0x2b4], 0
jne 0x100d7a5a
test dword [ebp + 8], 0x10000
je 0x100d7b90
mov ecx, dword [edi + 0xc]
mov eax, ebx
or eax, 0x800000
push eax
push dword [esp + 0x40]
mov eax, dword [ecx + 0x48]
push dword [ebp + 0x58]
push esi
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100d7b90
cmp dword [esi + 0x48], 0x53564720
je 0x100d7d11
test byte [ebp + 8], 2
je 0x100d7bcb
test bl, 8
jne 0x100d7bcb
mov ecx, dword [edi + 0xc]
mov eax, ebx
or eax, 0x4000
push eax
push dword [esp + 0x40]
mov eax, dword [ecx + 0x48]
push dword [ebp + 0x58]
push esi
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100d7bcb
cmp dword [esi + 0x48], 0x62697473
je 0x100d7d11
mov ebx, dword [ebp + 0x80]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x14]
mov edi, dword [ebx + 0x18]
push dword [esp + 0x40]
mov dword [ebx + 0x18], 0
mov eax, dword [ecx]
push dword [ebp + 0x58]
push esi
mov eax, dword [eax + 0x14]
push ecx
mov eax, dword [eax + 0xc]
call eax
mov dword [ebx + 0x18], edi
add esp, 0x14
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jmp 0x100d7d11
jle 0x100d7ee9
test ecx, ecx
jle 0x100d7ee9
mov eax, dword [esi + 0x78]
or edi, 0xffffffff
xor edx, edx
nop
movsx ecx, word [eax]
cmp ecx, edi
jle 0x100d7ee9
movsx edi, word [esi + 0x6e]
mov ebp, dword [esp + 0x38]
cmp ecx, edi
jge 0x100d7ee9
inc edx
add eax, 2
mov edi, ecx
cmp edx, dword [esp + 0x1c]
jl 0x100d7c20
movsx eax, word [esi + 0x6e]
dec eax
cmp ecx, eax
jne 0x100d7ee9
xor eax, eax
mov dword [esp + 0x10], eax
test bl, 2
jne 0x100d7d11
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x24], eax
and eax, 0xffffffc0
mov dword [esi + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], ecx
and ecx, 0xffffffc0
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x20], ecx
mov dword [esp + 0x30], ecx
lea ecx, [edx + 0x3f]
mov dword [esp + 0x38], eax
and ecx, 0xffffffc0
and eax, 0xffffffc0
mov dword [esi + 0x24], ecx
mov dword [esp + 0x20], eax
mov dword [esi + 0x30], eax
mov eax, ebx
shr eax, 4
test al, 1
je 0x100d7cd9
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
add eax, 0x3f
add ecx, eax
mov eax, dword [esi + 0x18]
add eax, 0x3f
and ecx, 0xffffffc0
add eax, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
and eax, 0xffffffc0
sub eax, dword [esp + 0x28]
jmp 0x100d7cf3
mov eax, dword [esi + 0x18]
sub edx, dword [esp + 0x18]
add eax, 0x3f
add eax, dword [esp + 0x2c]
and edx, 0xffffffc0
and eax, 0xffffffc0
sub ecx, edx
sub eax, dword [esp + 0x30]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
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
test bl, 0x10
je 0x100d7d1d
mov eax, dword [esi + 0x34]
xor ecx, ecx
jmp 0x100d7d22
mov ecx, dword [esi + 0x28]
xor eax, eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
test ebx, 0x2000
jne 0x100d7d5c
test byte [ebp + 8], 1
je 0x100d7d5c
mov edi, dword [ebp + 0x58]
push 0x40
push dword [edi + 0x10]
push dword [esi + 0x38]
call fcn.100d8640
push 0x40
mov dword [esi + 0x38], eax
push dword [edi + 0x14]
push dword [esi + 0x3c]
call fcn.100d8640
add esp, 0x18
mov dword [esi + 0x3c], eax
test ebx, 0x800
jne 0x100d7e7d
mov ebp, dword [ebp + 0x80]
mov dword [esp + 0x2c], ebp
cmp dword [ebp + 0x18], 0
je 0x100d7e7d
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x9c]
test edx, edx
je 0x100d7d97
mov eax, dword [edx + 0x10]
cmp eax, dword [esi + 0x48]
je 0x100d7dbd
mov eax, dword [ecx + 0x94]
xor edx, edx
mov edi, dword [esi + 0x48]
test eax, eax
je 0x100d7db9
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x10], edi
je 0x100d7db7
mov eax, dword [eax + 4]
test eax, eax
jne 0x100d7da6
jmp 0x100d7db9
mov edx, ecx
test edx, edx
je 0x100d7dd8
mov ecx, dword [edx + 0xc]
lea eax, [ebp + 0x10]
push eax
push ebp
push esi
mov eax, dword [ecx + 0x2c]
push edx
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x100d7e70
cmp dword [esi + 0x48], 0x6f75746c
jne 0x100d7e70
test byte [ebp + 0x18], 1
je 0x100d7e1b
lea eax, [esi + 0x6c]
test eax, eax
je 0x100d7e1b
mov edi, dword [eax + 4]
test edi, edi
je 0x100d7e1b
movsx eax, word [eax + 2]
lea eax, [edi + eax*8]
cmp edi, eax
jae 0x100d7e1b
mov ebx, eax
push ebp
push edi
call fcn.100db720
add edi, 8
add esp, 8
cmp edi, ebx
jb 0x100d7e06
mov ebx, dword [esp + 0x14]
test byte [ebp + 0x18], 2
je 0x100d7e70
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
lea eax, [esi + 0x6c]
mov dword [esp + 0x30], ecx
test eax, eax
je 0x100d7e70
mov edx, dword [eax + 4]
xor ebx, ebx
xor edi, edi
cmp bx, word [eax + 2]
mov ebx, dword [esp + 0x14]
jge 0x100d7e70
mov ebp, dword [esp + 0x38]
nop dword [eax + eax]
add dword [edx], ecx
lea edx, [edx + 8]
add dword [edx - 4], ebp
inc edi
movsx ecx, word [esi + 0x6e]
movzx eax, di
cmp eax, ecx
mov ecx, dword [esp + 0x30]
jl 0x100d7e50
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
lea eax, [esi + 0x40]
push ebp
push eax
call fcn.100db720
add esp, 8
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x9c]
mov dword [eax + 0x28], ebx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100d7f06
test bl, 1
jne 0x100d7f06
mov ecx, dword [esi + 0x48]
cmp ecx, 0x62697473
je 0x100d7f06
cmp ecx, 0x636f6d70
je 0x100d7f06
mov ecx, ebx
sar ecx, 0x10
and ecx, 0xf
jne 0x100d7ec5
test ebx, 0x1000
mov eax, 2
cmovne ecx, eax
test bl, 4
je 0x100d7ef6
mov eax, dword [esi + 4]
test eax, eax
je 0x100d7ee9
mov eax, dword [eax + 0x60]
push ecx
push esi
push dword [eax + 4]
call fcn.100d9ea0
add esp, 0xc
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x24
ret
pop edi
pop ebx
pop esi
mov eax, 6
pop ebp
add esp, 0x24
ret
push 0
push ecx
push esi
call fcn.100dc5e0
mov eax, dword [esp + 0x1c]
add esp, 0xc
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x24
ret
pop esi
mov eax, 0x23
pop ebp
add esp, 0x24
ret