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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x68e500]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x74]
push ebp
mov dword [esp + 0x40], eax
push esi
mov eax, dword [ebx + 0x64]
movzx esi, word [ebx + 0xe]
mov ebp, dword [ebx + 0x2e4]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov word [esp + 0x5c], cx
mov dword [esp + 0x38], esi
push edi
mov edi, dword [ebx + 0x68]
mov dword [esp + 0x44], edi
test ebp, ebp
jne 0x4c51f6
lea eax, [esp + 0x50]
push eax
mov eax, dword [ebx + 0x204]
push edi
push 0x66766172
push ebx
call eax
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4c5328
push edi
call fcn.004b8440
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x58]
push eax
push 0x5f6e28
push edi
call fcn.004b85c0
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4c5328
movzx eax, word [esp + 0x5e]
cmp esi, eax
jae 0x4c4d3a
pop edi
pop esi
lea eax, [ebp + 8]
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005aa453
add esp, 0x6c
ret
movzx eax, word [esp + 0x5a]
lea ecx, [eax*4 + 6]
movzx eax, word [esp + 0x60]
cmp eax, ecx
lea eax, [esp + 0x14]
push eax
push 0x50
push dword [esp + 0x48]
sete byte [esp + 0x1f]
call fcn.004ba480
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x2e4], ecx
test eax, eax
jne 0x4c5328
movzx ebp, word [esp + 0x5a]
lea edx, [esi + esi*2]
mov dword [ecx], ebp
mov eax, esi
imul eax, ebp
shl edx, 2
lea ecx, [ebp*2 + 3]
mov dword [esp + 0x24], edx
and ecx, 0xfffffffc
mov dword [esp + 0x30], ecx
lea ecx, [ebp*2]
add ecx, ebp
mov dword [esp + 0x1c], eax
shl ecx, 3
mov dword [esp + 0x34], ecx
lea ecx, [eax*4]
mov dword [esp + 0x38], ecx
lea eax, [ebp + 4]
lea ecx, [ecx + eax*4]
add ecx, eax
mov eax, dword [ebx + 0x2e4]
add ecx, edx
add ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x30]
mov dword [eax + 0x10], ecx
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x2e4]
push dword [eax + 0x10]
push dword [esp + 0x48]
call fcn.004ba480
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], esi
test eax, eax
jne 0x4c5328
mov eax, dword [ebx + 0x2e4]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], esi
lea eax, [esi + 0x14]
mov dword [esp + 0x20], eax
add eax, dword [esp + 0x30]
mov dword [esi + 0xc], eax
add eax, dword [esp + 0x34]
add edx, eax
mov dword [esi], ebp
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], ecx
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x4c4ead
mov esi, dword [esp + 0x3c]
lea eax, [ebp*4]
mov ebx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x13]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
nop dword [eax]
mov eax, dword [ebx + 0x10]
lea ecx, [ecx + 0xc]
mov dword [ecx + eax - 0xc], edx
add edx, edi
sub esi, 1
jne 0x4c4e90
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 0x10]
add ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x24]
test ebp, ebp
je 0x4c4ede
mov ebx, dword [esp + 0x28]
xor edx, edx
mov esi, ebp
mov eax, dword [ebx + 0xc]
lea edx, [edx + 0x18]
mov dword [edx + eax - 0x18], ecx
add ecx, 5
sub esi, 1
jne 0x4c4ec4
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
movzx eax, word [esp + 0x58]
add eax, dword [esp + 0x18]
push eax
push edi
call fcn.004b8ae0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4c5328
mov esi, dword [esi + 0xc]
mov dword [esp + 0x18], eax
test ebp, ebp
je 0x4c4fb2
nop dword [eax]
lea eax, [esp + 0x64]
push eax
push 0x5f6e4c
push edi
call fcn.004b85c0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4c5328
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0xc], eax
movzx eax, word [esp + 0x76]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov dword [esi + 0x10], ecx
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [esi]
mov al, byte [esi + 0x12]
mov byte [ecx + 1], al
mov ecx, dword [esi]
mov al, byte [esi + 0x11]
mov byte [ecx + 2], al
mov ecx, dword [esi]
mov al, byte [esi + 0x10]
mov byte [ecx + 3], al
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
mov byte [eax + 4], 0
mov ax, word [esp + 0x74]
mov word [ecx], ax
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jg 0x4c4f91
cmp eax, dword [esi + 0xc]
jle 0x4c4f97
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x18]
add ecx, 2
inc eax
mov dword [esp + 0x20], ecx
add esi, 0x18
mov dword [esp + 0x18], eax
cmp eax, ebp
jb 0x4c4f10
lea eax, [esp + 0x14]
push eax
push 0
push dword [esp + 0x24]
push 0
push 4
push dword [esp + 0x54]
call fcn.004ba650
mov ecx, eax
add esp, 0x18
mov eax, dword [ebx + 0x2e4]
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4c5328
mov cx, word [esp + 0x5e]
test cx, cx
je 0x4c5023
mov eax, dword [ebx + 0x2e4]
cmp byte [eax + 0x18], 0
jne 0x4c5023
push edi
call fcn.004b8440
push ebx
mov esi, eax
call fcn.004ce6a0
push esi
push edi
call fcn.004b8ae0
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4c5328
mov cx, word [esp + 0x5e]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
mov eax, dword [eax + 0x2e4]
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x18], ebx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x20], eax
xor eax, eax
cmp ax, cx
jae 0x4c5123
movzx eax, byte [esp + 0x13]
lea ecx, [ebp*4]
add eax, 2
lea eax, [ecx + eax*2]
mov dword [esp + 0x44], eax
push eax
push edi
call fcn.004b8040
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4c5328
push edi
call fcn.004b8270
movzx eax, ax
push edi
mov dword [ebx + 4], eax
call fcn.004b8270
mov esi, dword [ebx]
add esp, 8
test ebp, ebp
je 0x4c50b7
mov ebx, ebp
nop dword [eax + eax]
push edi
call fcn.004b81d0
add esp, 4
mov dword [esi], eax
lea esi, [esi + 4]
sub ebx, 1
jne 0x4c50a0
mov ebx, dword [esp + 0x18]
cmp byte [esp + 0x13], 0
je 0x4c50cc
push edi
call fcn.004b8270
add esp, 4
movzx eax, ax
jmp 0x4c50d1
mov eax, 0xffff
mov dword [ebx + 8], eax
mov esi, dword [esp + 0x20]
push esi
push dword [ebx]
push ebp
push dword [esp + 0x38]
call fcn.004cf4a0
lea eax, [ebp*4]
add esi, eax
push edi
mov dword [esp + 0x34], esi
call fcn.004b8110
mov esi, dword [esp + 0x30]
add ebx, 0xc
mov cx, word [esp + 0x72]
inc esi
movzx eax, cx
add esp, 0x14
cmp esi, eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
jb 0x4c5068
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
movzx eax, cx
cmp dword [esp + 0x3c], eax
je 0x4c51e3
mov edi, dword [ebx + 0x21c]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [edi + 0xa8]
push 0x11
push ebx
call eax
add esp, 0x10
test al, al
je 0x4c5160
mov dword [esp + 0x18], 0x11
jmp 0x4c5184
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [edi + 0xa8]
push 2
push ebx
call eax
add esp, 0x10
test al, al
je 0x4c51e3
mov dword [esp + 0x18], 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [edi + 0xa8]
push 6
push ebx
call eax
add esp, 0x10
test al, al
je 0x4c51e3
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x2f4], eax
movzx eax, word [esp + 0x5e]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [eax + ecx*4]
mov dword [eax + ecx*4 + 8], 6
mov esi, dword [esi + 0xc]
test ebp, ebp
je 0x4c51e3
lea ecx, [esi + 8]
mov esi, ebp
mov eax, dword [ecx]
lea ecx, [ecx + 0x18]
mov dword [edx], eax
lea edx, [edx + 4]
sub esi, 1
jne 0x4c51d4
push ebx
call fcn.004cedc0
mov eax, dword [esp + 0x18]
add esp, 4
mov edi, dword [esp + 0x24]
jmp 0x4c5227
mov ebp, dword [ebp]
lea edi, [esi + esi*2]
mov ecx, ebp
shl edi, 2
mov dword [esp + 0x24], edi
lea edx, [ecx*2 + 3]
and edx, 0xfffffffc
mov dword [esp + 0x30], edx
lea edx, [ecx + ecx*2]
imul ecx, esi
shl edx, 3
mov dword [esp + 0x34], edx
shl ecx, 2
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x48], 0
je 0x4c5328
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x2e4]
push dword [eax + 0x10]
push dword [esp + 0x48]
call fcn.004ba480
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4c5328
mov eax, dword [ebx + 0x2e4]
push dword [eax + 0x10]
push dword [eax + 0xc]
push esi
call fcn.005ac620
mov eax, dword [esp + 0x3c]
add esp, 0xc
add eax, 0x14
add eax, esi
mov dword [esi + 0xc], eax
add eax, dword [esp + 0x34]
mov dword [esi + 0x10], eax
lea edx, [eax + edi]
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x4c52a7
lea ebx, [ebp*4]
xor ecx, ecx
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0xc]
inc edi
mov dword [ecx + eax - 0xc], edx
add edx, ebx
cmp edi, dword [esi + 8]
jb 0x4c5295
mov edx, dword [esp + 0x24]
add edx, dword [esp + 0x38]
add edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
test ebp, ebp
je 0x4c531e
nop dword [eax]
mov ecx, dword [eax + 0x10]
mov dword [eax], edx
cmp ecx, 0x77676874
jne 0x4c52d5
mov dword [eax], str.Weight
jmp 0x4c5313
cmp ecx, 0x77647468
jne 0x4c52e5
mov dword [eax], str.Width
jmp 0x4c5313
cmp ecx, 0x6f70737a
jne 0x4c52f5
mov dword [eax], str.OpticalSize
jmp 0x4c5313
cmp ecx, 0x736c6e74
jne 0x4c5305
mov dword [eax], str.Slant
jmp 0x4c5313
cmp ecx, 0x6974616c
jne 0x4c5313
mov dword [eax], str.Italic
add edx, 5
add eax, 0x18
sub ebp, 1
jne 0x4c52c0
mov eax, dword [esp + 0x48]
mov dword [eax], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005aa453
add esp, 0x6c
ret