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

Disassembly:
push 0xffffffffffffffff
push 0x4d0be8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push edi
mov eax, dword [0x517b6c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x78]
xor ebx, ebx
mov dword [esp + 0x2c], vtable.CPOS.0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x24], vtable.CPOSCLIP.0
mov dword [esp + 0x28], vtable.CALPHABLEND.0
mov byte [esp + 0x70], 2
mov eax, dword [ebp]
mov edx, dword [eax + 0x20]
mov ecx, ebp
call edx
cmp eax, 8
jle 0x411f8d
cmp byte [esi + 0x27c], bl
jne 0x411a62
cmp byte [esi + 0x27d], bl
je 0x411ac2
mov al, byte [esi + 0x268]
cmp al, byte [edi + 4]
jne 0x411a83
mov cl, byte [esi + 0x269]
cmp cl, byte [edi + 5]
jne 0x411a83
mov dl, byte [esi + 0x26a]
cmp dl, byte [edi + 6]
je 0x411ac2
mov eax, dword [esi + 0xa0]
mov edx, dword [eax + 0x2c]
lea ebx, [esi + 0xa0]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call edx
lea eax, [esp + 0x2c]
push eax
call fcn.004149a0
mov cl, byte [edi + 4]
mov byte [esi + 0x268], cl
mov dl, byte [edi + 5]
mov byte [esi + 0x269], dl
mov al, byte [edi + 6]
mov byte [esi + 0x26a], al
xor ebx, ebx
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov dl, byte [eax + 4]
mov cl, byte [edi + 4]
cmp cl, dl
mov byte [esp + 0x78], dl
jne 0x411bb6
mov dl, byte [eax + 5]
mov cl, byte [edi + 5]
cmp cl, dl
mov byte [esp + 0x13], dl
jne 0x411bb2
mov cl, byte [edi + 6]
mov dl, byte [eax + 6]
cmp cl, dl
jne 0x411bb2
mov al, byte [edi + 4]
cmp byte [esi + 0x270], al
jne 0x411b44
mov al, byte [edi + 5]
cmp byte [esi + 0x271], al
jne 0x411b44
cmp byte [esi + 0x272], cl
jne 0x411b44
mov cl, byte [esp + 0x78]
cmp byte [esi + 0x278], cl
jne 0x411b44
mov al, byte [esp + 0x13]
cmp byte [esi + 0x279], al
jne 0x411b44
cmp byte [esi + 0x27a], dl
je 0x411c64
mov edx, dword [esi + 0x138]
mov edx, dword [edx + 0x2c]
lea ebx, [esi + 0x138]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call edx
lea eax, [esp + 0x2c]
push eax
call fcn.004149a0
mov eax, edi
movzx ecx, byte [eax + 4]
mov byte [esi + 0x270], cl
movzx edx, byte [eax + 5]
mov byte [esi + 0x271], dl
movzx eax, byte [eax + 6]
mov byte [esi + 0x272], al
mov eax, dword [esp + 0x8c]
movzx ecx, byte [eax + 4]
mov byte [esi + 0x278], cl
movzx edx, byte [eax + 5]
mov byte [esi + 0x279], dl
movzx eax, byte [eax + 6]
mov byte [esi + 0x27a], al
xor ebx, ebx
jmp 0x411c64
mov dl, byte [esp + 0x78]
mov cl, byte [edi + 4]
cmp byte [esi + 0x270], cl
jne 0x411c03
mov cl, byte [esi + 0x271]
cmp cl, byte [edi + 5]
jne 0x411c03
mov cl, byte [esi + 0x272]
cmp cl, byte [edi + 6]
jne 0x411c03
cmp byte [esi + 0x278], dl
jne 0x411c03
mov dl, byte [esi + 0x279]
cmp dl, byte [eax + 5]
jne 0x411c03
mov cl, byte [esi + 0x27a]
cmp cl, byte [eax + 6]
jne 0x411c03
mov dl, byte [esi + 0x260]
cmp dl, byte [esi + 0x27e]
je 0x411c64
push eax
movzx eax, byte [esi + 0x27e]
push edi
push eax
mov ecx, esi
call fcn.00411630
movzx ecx, byte [edi + 4]
mov byte [esi + 0x270], cl
movzx edx, byte [edi + 5]
mov byte [esi + 0x271], dl
movzx eax, byte [edi + 6]
mov byte [esi + 0x272], al
mov eax, dword [esp + 0x8c]
movzx ecx, byte [eax + 4]
mov byte [esi + 0x278], cl
movzx edx, byte [eax + 5]
mov byte [esi + 0x279], dl
movzx eax, byte [eax + 6]
mov byte [esi + 0x27a], al
movzx ecx, byte [esi + 0x27e]
mov byte [esi + 0x260], cl
mov edx, dword [esp + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
mov eax, vtable.CPOS.0
mov dword [esp + 0x78], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x70], 4
mov eax, dword [esi + 0x138]
mov eax, dword [eax + 0x2c]
lea ecx, [esi + 0x138]
lea edx, [esp + 0x54]
push edx
call eax
cmp edi, ebx
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x8c], ebx
jle 0x411f8d
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x84]
mov dl, byte [eax + ecx]
add eax, ecx
mov byte [esp + 0x18], dl
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
mov ebx, dword [esi + 0x250]
mov ecx, dword [esi + 0x254]
mov edi, eax
mov eax, dword [esp + 0x8c]
neg edi
sbb edi, edi
neg edi
add edi, 1
imul ebx, edi
add eax, 2
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x20], eax
jg 0x411dc7
mov edx, dword [esp + 0x88]
xor eax, eax
mov word [esp + 0x14], ax
mov byte [esp + 0x16], al
mov ax, word [edx]
push 0x4dd538
mov word [esp + 0x18], ax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push eax
push 0x4dd538
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
jne 0x411dc7
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 4]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 8]
add edx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
add dword [esp + 0x48], edx
jmp 0x411f7c
mov eax, dword [esp + 0x88]
push eax
push esi
call fcn.00411280
cmp byte [esi + 0x27c], 0
je 0x411eec
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
add ecx, 1
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x38], edx
lea edx, [esp + 0x30]
push edx
lea ecx, [esi + 0x1d0]
push ecx
mov dword [esp + 0x48], eax
lea eax, [esi + 0xa0]
push eax
push ebp
push ebp
lea ecx, [esp + 0x6c]
mov dword [esp + 0x50], ebx
call fcn.0044f980
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
add eax, 0xffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x30]
push ecx
lea eax, [esi + 0x1d0]
push eax
lea eax, [esi + 0xa0]
push eax
push ebp
mov dword [esp + 0x50], edx
push ebp
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x44]
mov dword [esp + 0x50], ebx
call fcn.0044f980
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
add eax, 1
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x30]
push eax
lea eax, [esi + 0x1d0]
push eax
lea eax, [esi + 0xa0]
push eax
mov dword [esp + 0x4c], ecx
push ebp
mov ecx, edx
push ebp
lea edx, [esp + 0x44]
mov dword [esp + 0x50], ebx
call fcn.0044f980
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
add edx, 0xffffffff
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
lea edx, [esp + 0x30]
push edx
lea eax, [esi + 0x1d0]
push eax
lea eax, [esi + 0xa0]
push eax
push ebp
push ebp
mov dword [esp + 0x50], ebx
call fcn.0044f980
cmp byte [esi + 0x27d], 0
je 0x411f3e
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
add eax, 2
add ecx, 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x44], edx
lea eax, [esi + 0x1d0]
push eax
lea edx, [esi + 0xa0]
push edx
push ebp
push ebp
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x44]
mov dword [esp + 0x50], ebx
call fcn.0044f980
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x44]
push ecx
lea eax, [esi + 0x1d0]
push eax
lea eax, [esi + 0x138]
push eax
push ebp
push ebp
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x58]
call fcn.0044f980
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 4]
add dword [esp + 0x8c], edi
add eax, ebx
add dword [esp + 0x44], eax
mov ecx, dword [esp + 0x8c]
cmp ecx, dword [esp + 0x78]
jl 0x411ce1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x64
ret 0x18