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

Disassembly:
push 0xffffffffffffffff
push 0x4bf32d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0x24], ebp
mov esi, 0x4f77a0
mov eax, dword [ebp + 0xac]
lea ebx, [ebp + 0xac]
mov dword [esp + 0x1c], ebx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42b87d
test cl, cl
je 0x42b879
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42b87d
add eax, 2
add esi, 2
test cl, cl
jne 0x42b859
xor eax, eax
jmp 0x42b882
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
cmp eax, ecx
je 0x42c21d
push edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], vtable.CFont.0
lea eax, [ebp + 0x9c]
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [eax]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x80], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x228]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x22c]
push eax
lea eax, [esp + 0x80]
push ecx
push eax
mov dword [esp + 0x94], edx
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp + 0x13c]
mov ecx, 0xf
mov esi, eax
lea edi, [esp + 0x174]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x174]
shl ecx, 1
push edx
mov dword [esp + 0x178], ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x5c]
call fcn.004b647a
mov eax, dword [ebp + 0x1c0]
test eax, eax
jne 0x42b937
mov ecx, dword [ebp + 0x130]
mov dword [esp + 0x48], ecx
cmp eax, 1
jne 0x42b946
mov edx, dword [ebp + 0x134]
mov dword [esp + 0x48], edx
cmp eax, 2
jne 0x42b955
mov eax, dword [ebp + 0x138]
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x38]
call fcn.004b5965
mov eax, dword [esp + 0x1c0]
mov byte [esp + 0x1b8], 1
test eax, eax
je 0x42b974
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.004b5a1c
push 1
lea ecx, [esp + 0x3c]
call fcn.004b5c47
mov ebp, dword [ebp + 0xb4]
cmp ebp, 1
jne 0x42b99f
push 6
jmp 0x42b9a9
cmp ebp, 2
jne 0x42b9a7
push ebp
jmp 0x42b9a9
push 0
lea ecx, [esp + 0x3c]
call fcn.004b6053
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004b5bb0
mov dword [esp + 0xa4], eax
mov eax, dword [0x4f4df4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x1bc], 3
call fcn.004b28e4
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.004b28e4
push 0x4e94ec
lea ecx, [esp + 0x14]
call fcn.004ace0a
mov esi, eax
cmp esi, 0xffffffff
jne 0x42ba8c
push 0x4eb19c
lea ecx, [esp + 0x14]
call fcn.004ace0a
mov esi, eax
cmp esi, 0xffffffff
jle 0x42baf6
lea eax, [esp + 0x4c]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.004acd70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1bc], 4
call fcn.004b28e4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b8], 3
call fcn.004b27ab
lea ecx, [esi + 2]
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.004acc3b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1bc], 5
call fcn.004b28e4
mov byte [esp + 0x1b8], 3
lea ecx, [esp + 0x34]
jmp 0x42baf1
lea eax, [esi - 1]
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004acd70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1bc], 6
call fcn.004b28e4
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b8], 3
call fcn.004b27ab
lea edx, [esi + 1]
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.004acc3b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1bc], 7
call fcn.004b28e4
mov byte [esp + 0x1b8], 3
lea ecx, [esp + 0x24]
call fcn.004b27ab
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea edx, [esp + 0xc4]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esp + 0x4c]
push eax
call edi
mov eax, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
test eax, eax
jne 0x42bb5c
push 0x4eb198
lea ecx, [esp + 0x30]
call fcn.004b2819
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x90]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x4c]
push eax
call edi
lea ecx, [esp + 0x2c]
call fcn.004b27ab
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x18]
add ecx, eax
cmp ebx, ebp
mov dword [esp + 0x18], ecx
jge 0x42bb6c
mov ebx, ebp
cmp esi, 0xffffffff
jg 0x42b9ec
mov eax, ebx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x28]
sar edi, 1
mov ecx, dword [eax + 0xc0]
add edi, 2
sar ebp, 1
add ebp, 2
cmp ecx, 1
mov dword [esp + 0xac], edi
lea ebx, [edi + edi]
lea esi, [ebp + ebp]
je 0x42bbba
mov ecx, dword [edx]
add ecx, edi
mov dword [eax + 0xa4], ecx
mov ecx, dword [eax + 0xa0]
mov dword [esp + 0x18], 0
add ecx, ebp
mov dword [eax + 0xa8], ecx
mov eax, dword [eax + 0xb4]
cmp eax, 1
je 0x42bbe0
cmp eax, 2
jne 0x42bbfb
mov ecx, dword [edx + 8]
sub ecx, edi
sub ecx, dword [edx]
cmp eax, 1
mov dword [esp + 0x18], ecx
jne 0x42bbfb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x13c]
call fcn.0040afc0
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
push ebp
push edi
push edx
mov edx, dword [esp + 0x1cc]
add ecx, eax
push ecx
push edx
lea ecx, [esp + 0x150]
mov byte [esp + 0x1cc], 8
call fcn.0040ba70
lea ecx, [esp + 0xcc]
call fcn.0040afc0
push 0
push 0x20
push ebp
push edi
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1c8], 9
call fcn.0040b190
mov eax, dword [esp + 0x1c0]
push esi
push ebx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esp + 0x3c]
mov ecx, eax
lea eax, [esp + 0x38]
push ecx
neg eax
sbb eax, eax
mov dword [esp + 0x50], ecx
and eax, edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x90], eax
lea edx, [esp + 0x6c]
xor eax, eax
push 0xffffff
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
call fcn.004b7e53
push 0
lea ecx, [esp + 0x3c]
call fcn.004b5c75
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
call fcn.004b28e4
xor ebx, ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.004b28e4
push 0x4e94ec
lea ecx, [esp + 0x14]
call fcn.004ace0a
mov esi, eax
cmp esi, 0xffffffff
jne 0x42bd77
push 0x4eb19c
lea ecx, [esp + 0x14]
call fcn.004ace0a
mov esi, eax
cmp esi, 0xffffffff
jle 0x42bde1
lea edx, [esp + 0x34]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.004acd70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1bc], 0xa
call fcn.004b28e4
lea ecx, [esp + 0x34]
mov byte [esp + 0x1b8], 9
call fcn.004b27ab
lea eax, [esi + 2]
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004acc3b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1bc], 0xb
call fcn.004b28e4
mov byte [esp + 0x1b8], 9
lea ecx, [esp + 0x30]
jmp 0x42bddc
lea edx, [esi - 1]
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.004acd70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1bc], 0xc
call fcn.004b28e4
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b8], 9
call fcn.004b27ab
lea ecx, [esi + 1]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.004acc3b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1bc], 0xd
call fcn.004b28e4
mov byte [esp + 0x1b8], 9
lea ecx, [esp + 0x20]
call fcn.004b27ab
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x6c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0xb4]
cmp eax, 1
jne 0x42be25
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
imul eax, ebx
mov edx, dword [ecx - 8]
push edx
push ecx
push eax
lea eax, [edi + edi]
cdq
sub eax, edx
sar eax, 1
push eax
jmp 0x42be5b
cmp eax, 2
mov eax, dword [esp + 0x70]
jne 0x42be4c
mov ecx, dword [esp + 0x14]
imul eax, ebx
mov edx, dword [ecx - 8]
push edx
push ecx
push eax
lea eax, [edi + edi]
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call dword [eax + 0x5c]
jmp 0x42be66
mov ecx, dword [esp + 0x14]
imul eax, ebx
mov edx, dword [ecx - 8]
push edx
push ecx
push eax
push 0
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call dword [edx + 0x5c]
inc ebx
cmp esi, 0xffffffff
jg 0x42bcd7
lea ecx, [esp + 0x104]
call fcn.0040afc0
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
lea ecx, [esp + 0x104]
and eax, ebx
mov byte [esp + 0x1b8], 0xe
push eax
mov eax, dword [esp + 0x50]
push eax
call fcn.0040bb60
lea ecx, [esp + 0x104]
call fcn.0040bc10
mov ebx, eax
lea ecx, [esp + 0x13c]
mov dword [esp + 0x1c], ebx
call fcn.0040bc10
mov esi, eax
lea ecx, [esp + 0xcc]
mov dword [esp + 0x6c], esi
call fcn.0040bc10
mov dword [esp + 0xb8], eax
lea eax, [edi + edi]
lea ecx, [eax*4]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov edx, eax
mov cl, ah
xor eax, eax
mov byte [esp + 0xb0], cl
shr edx, 0x10
cmp ebp, eax
mov byte [esp + 0xa0], dl
jle 0x42c11a
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ebp
test edi, edi
jle 0x42c0ed
lea edx, [ebx + 1]
lea ecx, [esi + 1]
mov dword [esp + 0x28], edx
mov edx, esi
mov dword [esp + 0x68], eax
sub esi, ecx
add eax, ecx
sub edx, ecx
add esi, 2
mov dword [esp + 0x50], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0xbc], esi
mov dword [esp + 0x20], edi
jmp 0x42bf5e
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x9c]
mov dl, byte [edx + eax]
mov cl, byte [eax]
mov byte [esp + 0xb4], dl
mov edx, dword [esp + 0xbc]
mov byte [esp + 0x98], cl
mov ecx, dword [esp + 0x2c]
mov al, byte [edx + eax]
xor esi, esi
xor edi, edi
xor ebp, ebp
mov byte [esp + 0xa8], al
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], 2
jmp 0x42bf9e
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], 2
lea ecx, [edx + eax]
mov eax, ebx
lea edx, [ebx + 1]
add ebx, 2
sub eax, edx
sub ebx, edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0xc0], ebx
jmp 0x42bfd4
mov eax, dword [esp + 0x8c]
mov dl, byte [eax + ecx]
mov ebx, dword [esp + 0xc0]
mov al, byte [ecx]
cmp dl, 0xfa
mov bl, byte [ebx + ecx]
jbe 0x42c01f
cmp al, 0xfa
jbe 0x42c01f
cmp bl, 0xfa
jbe 0x42c01f
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x98]
and edx, 0xff
and eax, 0xff
add esi, edx
mov edx, dword [esp + 0xa8]
and edx, 0xff
add edi, eax
add ebp, edx
jmp 0x42c047
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xb0]
and eax, 0xff
and edx, 0xff
add esi, eax
mov eax, dword [esp + 0x48]
and eax, 0xff
add edi, edx
add ebp, eax
mov eax, dword [esp + 0x64]
add ecx, 4
dec eax
mov dword [esp + 0x64], eax
jne 0x42bfcd
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
add edx, ecx
dec eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], eax
jne 0x42bf9a
mov eax, esi
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0xb8]
add ecx, 4
cdq
and edx, 3
mov ebx, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x68], ecx
sar eax, 2
mov byte [ecx + esi - 4], al
mov eax, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
mov byte [ecx + esi - 3], al
mov eax, ebp
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x50]
sar eax, 2
mov byte [ecx + esi - 2], al
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add edx, 4
add ecx, 8
dec eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
jne 0x42bf53
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
lea ecx, [edi*4]
add eax, ecx
lea ecx, [edx + edx]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x34]
dec ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
jne 0x42bf1a
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x38]
push eax
call fcn.004b5bb0
lea ecx, [esp + 0x58]
call fcn.004b64d1
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x38]
push ecx
neg eax
sbb eax, eax
and eax, esi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x38]
call fcn.004b5a84
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
push 0xcc0020
push eax
mov eax, dword [esp + 0x1c8]
add edx, ecx
lea ecx, [esp + 0xd4]
push edx
push eax
call fcn.0040b6d0
lea ecx, [esp + 0x104]
mov byte [esp + 0x1b8], 9
call fcn.0040b060
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1b8], 8
call fcn.0040b060
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1b8], 3
call fcn.0040b060
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b8], 2
call fcn.004b27ab
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b8], 1
call fcn.004b27ab
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b8], 0
call fcn.004b5a9a
mov dword [esp + 0x58], vtable.CGdiObject.0
lea ecx, [esp + 0x58]
mov dword [esp + 0x1b8], 0xf
call fcn.004b64d1
pop edi
mov ecx, dword [esp + 0x1ac]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1ac
ret 4