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

Disassembly:
sub esp, 0x24
push ebp
mov ebp, dword [esp + 0x2c]
push esi
test ebp, ebp
je 0x100ce7fe
cmp dword [ebp + 0x58], 0
je 0x100ce7fe
mov esi, dword [ebp + 0x54]
test esi, esi
je 0x100ce7fe
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x100ce1c0
test byte [eax + 4], 1
je 0x100ce1c0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x58]
mov eax, dword [eax + 0x64]
test ecx, ecx
je 0x100ce1ad
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 0x100ce1c7
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 0x100ce24d
mov dword [esi + 0x98], 0
jmp 0x100ce282
mov eax, dword [esi + 0x9c]
test byte [eax + 4], 2
je 0x100ce282
mov edi, dword [esi + 0x98]
mov eax, dword [ecx + 0x64]
mov ecx, dword [edi]
test ecx, ecx
je 0x100ce272
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 0x100ce2e0
cmp word [eax + 0xe], 0
je 0x100ce2e0
mov edx, dword [esp + 0x40]
jmp 0x100ce2e7
mov edx, dword [esp + 0x40]
or edx, 1
mov ecx, edx
or ecx, 0x801
test edx, 0x400
cmove ecx, edx
test cl, 1
je 0x100ce303
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 0x100ce34a
test ebx, 0x8002
jne 0x100ce34a
mov eax, dword [ebp + 8]
and eax, 0x2001
cmp eax, 1
jne 0x100ce34a
test ebx, 0x800
jne 0x100ce3a1
mov eax, dword [ebp + 0x80]
cmp dword [eax + 8], 0
jne 0x100ce39c
cmp dword [eax], 0
jne 0x100ce3a1
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 0x100ce7f6
cmp dword [esi + 0x48], 0x6f75746c
jne 0x100ce601
lea ecx, [esi + 0x6c]
test ecx, ecx
je 0x100ce7d9
movsx eax, word [ecx + 2]
movsx ecx, word [ecx]
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x100ce4f9
test ecx, ecx
jmp 0x100ce53e
cmp dword [eax], 0
jne 0x100ce34a
test bl, 0x20
jne 0x100ce447
mov eax, dword [edi]
test dword [eax], 0x400
je 0x100ce447
mov eax, dword [eax + 0x20]
xor ecx, ecx
test eax, eax
je 0x100ce3ce
push str.font_format
push edi
call eax
add esp, 8
mov ecx, eax
push str.Type_1
push ecx
call fcn.101ed700
add esp, 8
test eax, eax
je 0x100ce3ea
cmp dword [edi + 0x1c], 1
jne 0x100ce3ea
mov cl, 1
jmp 0x100ce3ec
xor cl, cl
mov eax, ebx
and eax, 0xf0000
cmp eax, 0x10000
jne 0x100ce408
mov eax, dword [edi]
test dword [eax], 0x800
jne 0x100ce408
test cl, cl
je 0x100ce447
test byte [ebp + 8], 8
je 0x100ce34a
cmp dword [ebp + 0x2f8], 0
je 0x100ce34a
cmp word [ebp + 0x11e], 0
jne 0x100ce34a
cmp dword [ebp + 0x2ac], 0
jne 0x100ce34a
cmp dword [ebp + 0x2b4], 0
jne 0x100ce34a
test dword [ebp + 8], 0x10000
je 0x100ce480
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 0x100ce480
cmp dword [esi + 0x48], 0x53564720
je 0x100ce601
test byte [ebp + 8], 2
je 0x100ce4bb
test bl, 8
jne 0x100ce4bb
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 0x100ce4bb
cmp dword [esi + 0x48], 0x62697473
je 0x100ce601
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 0x100ce601
jle 0x100ce7d9
test ecx, ecx
jle 0x100ce7d9
mov eax, dword [esi + 0x78]
or edi, 0xffffffff
xor edx, edx
nop
movsx ecx, word [eax]
cmp ecx, edi
jle 0x100ce7d9
movsx edi, word [esi + 0x6e]
mov ebp, dword [esp + 0x38]
cmp ecx, edi
jge 0x100ce7d9
inc edx
add eax, 2
mov edi, ecx
cmp edx, dword [esp + 0x1c]
jl 0x100ce510
movsx eax, word [esi + 0x6e]
dec eax
cmp ecx, eax
jne 0x100ce7d9
xor eax, eax
mov dword [esp + 0x10], eax
test bl, 2
jne 0x100ce601
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 0x100ce5c9
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 0x100ce5e3
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 0x100ce60d
mov eax, dword [esi + 0x34]
xor ecx, ecx
jmp 0x100ce612
mov ecx, dword [esi + 0x28]
xor eax, eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
test ebx, 0x2000
jne 0x100ce64c
test byte [ebp + 8], 1
je 0x100ce64c
mov edi, dword [ebp + 0x58]
push 0x40
push dword [edi + 0x10]
push dword [esi + 0x38]
call fcn.100cef30
push 0x40
mov dword [esi + 0x38], eax
push dword [edi + 0x14]
push dword [esi + 0x3c]
call fcn.100cef30
add esp, 0x18
mov dword [esi + 0x3c], eax
test ebx, 0x800
jne 0x100ce76d
mov ebp, dword [ebp + 0x80]
mov dword [esp + 0x2c], ebp
cmp dword [ebp + 0x18], 0
je 0x100ce76d
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x9c]
test edx, edx
je 0x100ce687
mov eax, dword [edx + 0x10]
cmp eax, dword [esi + 0x48]
je 0x100ce6ad
mov eax, dword [ecx + 0x94]
xor edx, edx
mov edi, dword [esi + 0x48]
test eax, eax
je 0x100ce6a9
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x10], edi
je 0x100ce6a7
mov eax, dword [eax + 4]
test eax, eax
jne 0x100ce696
jmp 0x100ce6a9
mov edx, ecx
test edx, edx
je 0x100ce6c8
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 0x100ce760
cmp dword [esi + 0x48], 0x6f75746c
jne 0x100ce760
test byte [ebp + 0x18], 1
je 0x100ce70b
lea eax, [esi + 0x6c]
test eax, eax
je 0x100ce70b
mov edi, dword [eax + 4]
test edi, edi
je 0x100ce70b
movsx eax, word [eax + 2]
lea eax, [edi + eax*8]
cmp edi, eax
jae 0x100ce70b
mov ebx, eax
push ebp
push edi
call fcn.100d2010
add edi, 8
add esp, 8
cmp edi, ebx
jb 0x100ce6f6
mov ebx, dword [esp + 0x14]
test byte [ebp + 0x18], 2
je 0x100ce760
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 0x100ce760
mov edx, dword [eax + 4]
xor ebx, ebx
xor edi, edi
cmp bx, word [eax + 2]
mov ebx, dword [esp + 0x14]
jge 0x100ce760
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 0x100ce740
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
lea eax, [esi + 0x40]
push ebp
push eax
call fcn.100d2010
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 0x100ce7f6
test bl, 1
jne 0x100ce7f6
mov ecx, dword [esi + 0x48]
cmp ecx, 0x62697473
je 0x100ce7f6
cmp ecx, 0x636f6d70
je 0x100ce7f6
mov ecx, ebx
sar ecx, 0x10
and ecx, 0xf
jne 0x100ce7b5
test ebx, 0x1000
mov eax, 2
cmovne ecx, eax
test bl, 4
je 0x100ce7e6
mov eax, dword [esi + 4]
test eax, eax
je 0x100ce7d9
mov eax, dword [eax + 0x60]
push ecx
push esi
push dword [eax + 4]
call fcn.100d0790
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.100d2ed0
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