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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], edi
test edi, edi
je 0x1004a7ea
cmp dword [edi + 0x58], 0
je 0x1004a7ea
mov esi, dword [edi + 0x54]
test esi, esi
je 0x1004a7ea
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x1004a20d
test byte [eax + 4], 1
je 0x1004a20d
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x58]
mov eax, dword [eax + 0x64]
test edx, edx
je 0x1004a1fa
mov ecx, eax
mov eax, dword [eax + 8]
call eax
mov eax, dword [esi + 0x9c]
mov dword [esi + 0x58], 0
and dword [eax + 4], 0xfffffffe
jmp 0x1004a214
mov dword [esi + 0x58], 0
xorps xmm0, xmm0
mov ecx, ebx
movups xmmword [esi + 0x18], xmm0
or ecx, 0x801
test ebx, 0x400
movups xmmword [esi + 0x28], xmm0
cmove ecx, ebx
movups xmmword [esi + 0x6c], xmm0
mov dword [esi + 0x7c], 0
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
mov dword [esi + 0x98], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov eax, dword [edi + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov edx, dword [eax + 0xa0]
mov dword [esp + 0x20], edx
test cl, 1
je 0x1004a2dc
and ecx, 0xfffffffb
or ecx, 0xa
mov ebx, ecx
and ebx, 0xfffffffb
test ecx, 0x400000
cmove ebx, ecx
mov dword [esp + 0x18], ebx
test edx, edx
je 0x1004a320
test ebx, 0x8002
jne 0x1004a320
mov eax, dword [edi + 8]
and eax, 0x2001
cmp eax, 1
jne 0x1004a320
test ebx, 0x800
jne 0x1004a37d
mov eax, dword [edi + 0x80]
cmp dword [eax + 8], 0
jne 0x1004a378
cmp dword [eax], 0
jne 0x1004a37d
mov eax, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [edi + 0x58]
push ebx
push dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x48]
call eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1004a7ef
cmp dword [esi + 0x48], 0x6f75746c
jne 0x1004a5c9
lea ecx, [esi + 0x6c]
test ecx, ecx
je 0x1004a7c6
movsx eax, word [ecx + 2]
movsx ecx, word [ecx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
test eax, eax
jne 0x1004a4b2
test ecx, ecx
jmp 0x1004a4fc
cmp dword [eax], 0
jne 0x1004a320
mov ecx, dword [esp + 0x14]
test bl, 0x20
jne 0x1004a42a
mov eax, dword [ecx]
test dword [eax], 0x400
je 0x1004a42a
mov eax, dword [eax + 0x20]
xor edx, edx
test eax, eax
je 0x1004a3ad
mov ecx, dword [edi + 0x60]
mov edx, str.font_format
call eax
mov edx, eax
push str.Type_1
push edx
call fcn.101a2be0
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x1004a3cd
cmp dword [ecx + 0x1c], 1
jne 0x1004a3cd
mov dl, 1
jmp 0x1004a3cf
xor dl, dl
mov eax, ebx
and eax, 0xf0000
cmp eax, 0x10000
jne 0x1004a3eb
mov eax, dword [ecx]
test dword [eax], 0x800
jne 0x1004a3eb
test dl, dl
je 0x1004a42a
test byte [edi + 8], 8
je 0x1004a320
cmp dword [edi + 0x2e0], 0
je 0x1004a320
cmp word [edi + 0x11e], 0
jne 0x1004a320
cmp dword [edi + 0x2a4], 0
jne 0x1004a320
cmp dword [edi + 0x2ac], 0
jne 0x1004a320
test byte [edi + 8], 2
je 0x1004a46b
test bl, 8
jne 0x1004a46b
mov edi, dword [ecx + 0xc]
mov eax, ebx
mov ecx, dword [esp + 0x10]
or eax, 0x4000
push eax
push dword [esp + 0x20]
mov eax, dword [edi + 0x48]
mov edx, dword [ecx + 0x58]
mov ecx, esi
call eax
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1004a46b
cmp dword [esi + 0x48], 0x62697473
je 0x1004a5c9
mov ebx, dword [edi + 0x80]
mov edx, esi
mov eax, dword [esp + 0x20]
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, dword [ebx + 0x18]
push dword [esp + 0x20]
mov dword [ebx + 0x18], 0
mov eax, dword [eax]
push dword [ecx + 0x58]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebx + 0x18], edi
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jmp 0x1004a5c9
jle 0x1004a7c6
test ecx, ecx
jle 0x1004a7c6
mov eax, dword [esi + 0x78]
xor edx, edx
mov dword [esp + 0x20], 0xffffffff
nop dword [eax]
movsx ecx, word [eax]
cmp ecx, dword [esp + 0x20]
jle 0x1004a7c6
cmp ecx, dword [esp + 0x14]
jge 0x1004a7c6
inc edx
mov dword [esp + 0x20], ecx
add eax, 2
cmp edx, dword [esp + 0x28]
jl 0x1004a4d0
mov eax, dword [esp + 0x14]
dec eax
cmp ecx, eax
jne 0x1004a7c6
xor eax, eax
mov dword [esp + 0x14], eax
test bl, 2
jne 0x1004a5c9
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x30], eax
and eax, 0xffffffc0
mov dword [esi + 0x2c], eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x38], ecx
and ecx, 0xffffffc0
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x20], ecx
mov dword [esp + 0x3c], ecx
lea ecx, [edx + 0x3f]
mov dword [esp + 0x20], eax
and ecx, 0xffffffc0
and eax, 0xffffffc0
mov dword [esi + 0x24], ecx
mov dword [esp + 0x2c], eax
mov dword [esi + 0x30], eax
mov eax, ebx
shr eax, 4
test al, 1
je 0x1004a589
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add eax, 0x3f
mov edx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esi + 0x18]
add edx, 0x3f
add eax, edx
and ecx, 0xffffffc0
sub ecx, dword [esp + 0x2c]
and eax, 0xffffffc0
sub eax, dword [esp + 0x34]
jmp 0x1004a5a9
mov edi, dword [esp + 0x38]
sub edx, dword [esp + 0x24]
add edi, 0x3f
mov eax, dword [esi + 0x18]
and edx, 0xffffffc0
add eax, edi
sub ecx, edx
mov edi, dword [esp + 0x10]
and eax, 0xffffffc0
sub eax, dword [esp + 0x3c]
mov dword [esi + 0x18], eax
lea edx, [esi + 0x1c]
mov dword [edx], 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 0x1004a5d5
mov eax, dword [esi + 0x34]
xor ecx, ecx
jmp 0x1004a5da
mov ecx, dword [esi + 0x28]
xor eax, eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
test ebx, 0x2000
jne 0x1004a611
test byte [edi + 8], 1
je 0x1004a611
mov edi, dword [edi + 0x58]
mov ecx, dword [esi + 0x38]
push 0x40
mov edx, dword [edi + 0x10]
call fcn.10048aa0
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x38], eax
mov edx, dword [edi + 0x14]
push 0x40
call fcn.10048aa0
mov dword [esi + 0x3c], eax
test ebx, 0x800
jne 0x1004a757
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x80]
mov dword [esp + 0x10], edx
cmp dword [edx + 0x18], 0
je 0x1004a757
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [eax + 0x9c]
test ecx, ecx
je 0x1004a658
mov eax, dword [ecx + 0x10]
cmp eax, dword [esi + 0x48]
je 0x1004a687
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x94]
xor ecx, ecx
mov edi, dword [esi + 0x48]
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x1004a683
nop dword [eax + eax]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x10], edi
je 0x1004a683
mov eax, dword [eax + 4]
test eax, eax
jne 0x1004a670
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1004a69c
mov edi, dword [ecx + 0xc]
lea eax, [edx + 0x10]
push eax
push edx
mov edx, esi
mov eax, dword [edi + 0x2c]
call eax
mov dword [esp + 0x14], eax
jmp 0x1004a704
cmp dword [esi + 0x48], 0x6f75746c
jne 0x1004a708
test byte [edx + 0x18], 1
je 0x1004a6b7
lea ecx, [esi + 0x6c]
call fcn.1004c5a0
mov edx, dword [esp + 0x10]
test byte [edx + 0x18], 2
je 0x1004a708
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [esi + 0x6c]
mov dword [esp + 0x38], ecx
test eax, eax
je 0x1004a708
mov edx, dword [eax + 4]
xor ebx, ebx
xor edi, edi
cmp bx, word [eax + 2]
mov ebx, dword [esp + 0x18]
jge 0x1004a704
add dword [edx + 4], ecx
lea edx, [edx + 8]
mov eax, dword [esp + 0x3c]
inc edi
add dword [edx - 8], eax
movsx eax, word [esi + 0x6e]
movzx ecx, di
cmp ecx, eax
mov ecx, dword [esp + 0x38]
jl 0x1004a6e3
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x40]
test eax, eax
je 0x1004a757
mov edx, dword [edx]
mov ecx, dword [eax]
call fcn.10040490
mov edx, dword [esp + 0x10]
mov ebx, eax
mov ecx, dword [esi + 0x44]
mov edx, dword [edx + 4]
call fcn.10040490
mov ecx, dword [esi + 0x40]
add ebx, eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
call fcn.10040490
mov ecx, dword [esi + 0x44]
mov edi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
call fcn.10040490
add eax, edi
mov dword [esi + 0x40], ebx
mov ebx, dword [esp + 0x18]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x9c]
mov dword [eax + 0x28], ebx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1004a7ef
test bl, 1
jne 0x1004a7ef
mov ecx, dword [esi + 0x48]
cmp ecx, 0x62697473
je 0x1004a7ef
cmp ecx, 0x636f6d70
je 0x1004a7ef
mov edx, ebx
sar edx, 0x10
and edx, 0xf
jne 0x1004a7a3
test ebx, 0x1000
mov eax, 2
cmovne edx, eax
test bl, 4
je 0x1004a7d4
mov eax, dword [esi + 4]
test eax, eax
je 0x1004a7c6
mov eax, dword [eax + 0x60]
push edx
mov edx, esi
mov ecx, dword [eax + 4]
call fcn.1004b9c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
mov ecx, esi
call fcn.10049ce0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 0x23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4