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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [esp + 0x20]
mov ebx, 0x23
test eax, eax
je 0x43c75a
cmp dword [eax + 0x58], 0
je 0x43c75a
mov esi, dword [eax + 0x54]
test esi, esi
je 0x43c75a
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x43c05d
test byte [eax + 4], 1
jne 0x43c066
mov dword [esi + 0x58], 0
jmp 0x43c08c
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x43c081
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x64]
push ecx
push eax
call dword [eax + 8]
add esp, 8
mov eax, dword [esi + 0x9c]
mov dword [esi + 0x58], 0
and byte [eax + 4], 0xfe
mov dword [esi + 0xc], 0
pxor xmm0, xmm0
movdqu xmmword [esi + 0x18], xmm0
movdqu xmmword [esi + 0x28], xmm0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x54], 0
mov byte [esi + 0x5e], 0
movdqu xmmword [esi + 0x64], xmm0
movdqu xmmword [esi + 0x74], xmm0
movdqu xmmword [esi + 0x80], xmm0
mov eax, dword [esi + 4]
test byte [eax + 0xa], 1
jne 0x43c0e1
mov dword [esi + 0x98], 0
jmp 0x43c114
mov ecx, dword [esi + 0x9c]
test byte [ecx + 4], 2
je 0x43c114
mov edi, dword [esi + 0x98]
mov ecx, dword [edi]
test ecx, ecx
je 0x43c104
mov eax, dword [eax + 0x64]
push ecx
push eax
call dword [eax + 8]
add esp, 8
mov dword [edi], 0
mov eax, dword [esi + 0x9c]
and dword [eax + 4], 0xfffffffd
mov eax, dword [esp + 0x28]
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
pxor xmm0, xmm0
movdqu xmmword [esi + 0x38], xmm0
mov dword [esi + 0x48], 0
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x58]
mov edi, dword [edx + 0x60]
mov edx, dword [edi + 4]
mov ebx, dword [edx + 0xa0]
cmp word [ecx + 0xc], 0
je 0x43c15d
cmp word [ecx + 0xe], 0
jne 0x43c160
or eax, 1
mov ebp, dword [esp + 0x24]
mov ecx, eax
or ecx, 0x801
test eax, 0x400
cmove ecx, eax
mov eax, ecx
and eax, 0xfffffff1
or eax, 0xa
test cl, 1
cmove eax, ecx
mov edx, eax
and edx, 0xfffffffb
test eax, 0x400000
cmove edx, eax
test ebx, ebx
je 0x43c358
mov eax, edx
and eax, 2
jne 0x43c358
mov eax, edx
and eax, 0x8000
jne 0x43c358
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
mov ecx, eax
and ecx, 0x2001
cmp ecx, 1
jne 0x43c358
test edx, 0x800
jne 0x43c1f3
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x80]
cmp dword [ecx + 8], 0
mov ecx, dword [ecx]
je 0x43c1eb
test ecx, ecx
jne 0x43c358
jmp 0x43c1f3
test ecx, ecx
je 0x43c358
test dl, 0x20
jne 0x43c204
mov ecx, dword [edi]
test byte [ecx + 1], 4
jne 0x43c2cb
test eax, 0x10000
je 0x43c246
mov eax, dword [edi + 0xc]
mov ecx, edx
or ecx, 0x800000
push ecx
push ebp
mov ecx, dword [esp + 0x28]
push dword [ecx + 0x58]
push esi
mov ebp, edx
call dword [eax + 0x48]
mov edx, ebp
mov ebp, dword [esp + 0x34]
add esp, 0x10
test eax, eax
jne 0x43c246
mov dword [esp], 0
cmp dword [esi + 0x48], 0x53564720
je 0x43c3c8
mov eax, dword [esp + 0x20]
test byte [eax + 8], 2
je 0x43c28e
mov eax, edx
and eax, 8
jne 0x43c28e
mov eax, dword [edi + 0xc]
mov ecx, edx
or ecx, 0x4000
push ecx
push ebp
mov ecx, dword [esp + 0x28]
push dword [ecx + 0x58]
push esi
mov edi, edx
call dword [eax + 0x48]
mov edx, edi
add esp, 0x10
test eax, eax
jne 0x43c28e
mov dword [esp], 0
cmp dword [esi + 0x48], 0x62697473
je 0x43c3c8
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 0x80]
mov eax, dword [edi + 0x18]
mov dword [esp + 4], eax
mov dword [edi + 0x18], 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
push edx
push ebp
push dword [ecx + 0x58]
push esi
push ebx
mov ebx, edx
call dword [eax + 0xc]
mov edx, ebx
add esp, 0x14
mov dword [esp], eax
mov eax, dword [esp + 4]
mov dword [edi + 0x18], eax
jmp 0x43c3c8
mov ebp, edx
push str.font_format
push edi
call dword [ecx + 0x20]
add esp, 8
push str.Type_1
push eax
call fcn.004c3eb0
add esp, 8
test eax, eax
je 0x43c2f4
cmp dword [edi + 0x1c], 1
sete al
jmp 0x43c2f6
xor eax, eax
mov edx, ebp
mov ecx, ebp
and ecx, 0xf0000
cmp ecx, 0x10000
mov ebp, dword [esp + 0x24]
jne 0x43c320
mov ecx, dword [edi]
movzx ecx, byte [ecx + 1]
and cl, 8
shr cl, 3
or cl, al
je 0x43c749
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
test al, 8
je 0x43c358
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x2f8], 0
je 0x43c358
cmp word [ecx + 0x11e], 0
jne 0x43c358
cmp dword [ecx + 0x2ac], 0
jne 0x43c358
cmp dword [ecx + 0x2b4], 0
je 0x43c204
mov eax, dword [edi + 0xc]
push edx
push ebp
mov ecx, dword [esp + 0x28]
push dword [ecx + 0x58]
push esi
mov edi, edx
call dword [eax + 0x48]
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x43c75a
mov dword [esp + 4], edi
cmp dword [esi + 0x48], 0x6f75746c
jne 0x43c3bd
movsx eax, word [esi + 0x6e]
movsx ecx, word [esi + 0x6c]
mov edx, eax
mov dword [esp], ecx
or dx, cx
mov edx, dword [esp + 4]
jne 0x43c4e0
mov dword [esp], 0
test dl, 2
jne 0x43c3c8
mov eax, edx
shr al, 4
and al, 1
movzx edx, al
mov ecx, esi
call fcn.0043ea30
jmp 0x43c3c4
mov dword [esp], 0
mov edx, dword [esp + 4]
test dl, 0x10
jne 0x43c3d4
mov ecx, dword [esi + 0x28]
xor eax, eax
jmp 0x43c3d9
mov eax, dword [esi + 0x34]
xor ecx, ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
test edx, 0x2000
mov eax, dword [esp + 0x20]
jne 0x43c48a
test byte [eax + 8], 1
je 0x43c48a
mov eax, dword [eax + 0x58]
mov dword [esp + 8], eax
mov edi, dword [eax + 0x10]
mov ecx, ebp
mov ebp, edi
neg ebp
cmovs ebp, edi
mov ebx, dword [esi + 0x38]
mov eax, ebx
neg eax
cmovs eax, ebx
mov dword [esp + 4], edx
mul ebp
mov ebp, ecx
add eax, 0x20
adc edx, 0
shld edx, eax, 0x1a
sar ebx, 0x1f
or ebx, 1
mov eax, ebx
neg eax
test edi, edi
cmovns eax, ebx
mov ebx, edx
neg ebx
test eax, eax
cmovns ebx, edx
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x38], ebx
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x14]
mov ebx, ecx
neg ebx
cmovs ebx, ecx
mov eax, edi
neg eax
cmovs eax, edi
mul ebx
add eax, 0x20
adc edx, 0
shld edx, eax, 0x1a
sar edi, 0x1f
or edi, 1
mov eax, edi
neg eax
test ecx, ecx
cmovns eax, edi
mov ecx, edx
neg ecx
test eax, eax
mov eax, dword [esp + 0x20]
cmovns ecx, edx
mov edx, dword [esp + 4]
mov dword [esi + 0x3c], ecx
test edx, 0x800
jne 0x43c698
mov edi, dword [eax + 0x80]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x43c698
mov ebp, edx
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x60]
mov ebx, dword [ecx + 4]
mov edx, dword [ebx + 0x9c]
test edx, edx
je 0x43c541
mov ecx, dword [esi + 0x48]
cmp dword [edx + 0x10], ecx
jne 0x43c544
mov eax, dword [edx + 0xc]
lea ecx, [edi + 0x10]
push ecx
push edi
push esi
push edx
call dword [eax + 0x2c]
add esp, 0x10
mov dword [esp], eax
jmp 0x43c58f
mov ebx, 6
test ax, ax
jle 0x43c75a
cmp word [esp], 0
jle 0x43c75a
mov ecx, dword [esi + 0x78]
mov dword [esp + 8], ecx
mov edi, 0xffffffff
xor edx, edx
mov ecx, edi
mov edi, dword [esp + 8]
movzx ebp, word [edi + edx*2]
movsx edi, bp
cmp ecx, edi
jge 0x43c75a
cmp bp, ax
jge 0x43c75a
inc edx
cmp dword [esp], edx
jne 0x43c507
dec eax
cmp eax, edi
mov edx, dword [esp + 4]
mov ebp, dword [esp + 0x24]
je 0x43c39e
jmp 0x43c75a
mov ecx, dword [esi + 0x48]
mov ebx, dword [ebx + 0x94]
test ebx, ebx
je 0x43c563
nop
mov edx, dword [ebx + 8]
cmp dword [edx + 0x10], ecx
je 0x43c4c8
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x43c550
cmp ecx, 0x6f75746c
jne 0x43c58f
test al, 1
je 0x43c57f
lea eax, [esi + 0x6c]
push edi
push eax
call fcn.0043eae0
add esp, 8
mov eax, dword [edi + 0x18]
test al, 2
mov edx, ebp
jne 0x43c6fd
mov ebp, dword [esp + 0x24]
jmp 0x43c59d
mov edx, ebp
mov ebp, dword [esp + 0x24]
test edi, edi
je 0x43c698
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
movd xmm1, ecx
sar ecx, 0x1f
movd xmm2, dword [edi + 8]
movd xmm0, dword [edi]
punpckldq xmm0, xmm2
pxor xmm2, xmm2
pxor xmm3, xmm3
pcmpgtd xmm3, xmm0
punpckldq xmm0, xmm3
movd xmm4, eax
sar eax, 0x1f
movd xmm5, eax
punpckldq xmm4, xmm5
pshufd xmm4, xmm4, 0x44
pshufd xmm3, xmm3, 0xd4
pmuludq xmm3, xmm4
movdqa xmm5, xmm4
psrlq xmm5, 0x20
pmuludq xmm5, xmm0
paddq xmm5, xmm3
psllq xmm5, 0x20
pmuludq xmm0, xmm4
paddq xmm0, xmm5
movdqa xmm3, xmm0
psrad xmm3, 0x1f
pshufd xmm3, xmm3, 0xf5
movdqa xmm4, xmmword [0x4fdff0]
paddq xmm0, xmm4
paddq xmm0, xmm3
psrlq xmm0, 0x10
movd xmm5, dword [edi + 0xc]
movd xmm3, dword [edi + 4]
punpckldq xmm3, xmm5
pcmpgtd xmm2, xmm3
punpckldq xmm3, xmm2
movd xmm5, ecx
punpckldq xmm1, xmm5
pshufd xmm1, xmm1, 0x44
pshufd xmm2, xmm2, 0xd4
pmuludq xmm2, xmm1
movdqa xmm5, xmm1
psrlq xmm5, 0x20
pmuludq xmm5, xmm3
paddq xmm5, xmm2
psllq xmm5, 0x20
pmuludq xmm3, xmm1
paddq xmm3, xmm5
movdqa xmm1, xmm3
psrad xmm1, 0x1f
pshufd xmm1, xmm1, 0xf5
paddq xmm3, xmm4
paddq xmm3, xmm1
psrlq xmm3, 0x10
paddd xmm3, xmm0
pshufd xmm0, xmm3, 0xe8
movq qword [esi + 0x40], xmm0
mov dword [esi + 0xc], ebp
mov eax, dword [esi + 0x9c]
mov dword [eax + 0x28], edx
mov eax, dword [esp]
mov ebx, eax
test eax, eax
jne 0x43c75a
xor ebx, ebx
test dl, 1
jne 0x43c75a
mov eax, dword [esi + 0x48]
cmp eax, 0x62697473
je 0x43c75a
cmp eax, 0x636f6d70
je 0x43c75a
mov ecx, edx
shr ecx, 0x10
and ecx, 0xf
mov eax, edx
shr eax, 0xb
and eax, 2
test ecx, ecx
cmovne eax, ecx
test dl, 4
jne 0x43c730
push 0
push eax
push esi
call fcn.0043dd00
add esp, 0xc
jmp 0x43c75a
cmp word [esi + 0x6e], 0
mov ebp, dword [esp + 0x24]
jle 0x43c59d
movq xmm0, qword [edi + 0x10]
mov eax, dword [esi + 0x70]
xor ecx, ecx
movq xmm1, qword [eax + ecx*8]
paddd xmm1, xmm0
movq qword [eax + ecx*8], xmm1
inc ecx
cmp cx, word [esi + 0x6e]
jl 0x43c716
jmp 0x43c595
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43c755
mov ecx, dword [ecx + 0x60]
push eax
push esi
push dword [ecx + 4]
call fcn.00440c50
add esp, 0x18
jmp 0x43c75f
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
jmp 0x43c204
mov ebx, 6
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret