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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47a8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x4985d0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x4c]
call fcn.0042b75d
xor esi, esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], vtable.CBitmap.0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x88], 1
call fcn.0042b75d
mov ebx, dword [ebp + 8]
cmp ebx, esi
mov byte [esp + 0x88], 2
jne 0x422d23
xor eax, eax
jmp 0x422d26
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x50]
call fcn.0042bbee
test eax, eax
je 0x4232fb
cmp ebx, esi
jne 0x422d47
xor eax, eax
jmp 0x422d4a
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x70]
call fcn.0042bbee
test eax, eax
je 0x4232fb
mov eax, dword [edi + 0xb8]
mov ecx, dword [edi + 0xb4]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x38]
call fcn.0042be9f
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x422d99
mov ecx, dword [esp + 0x50]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 0x8c]
lea edx, [edi + 0x90]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [edi + 0x88]
cmp eax, esi
jne 0x422dbd
xor eax, eax
jmp 0x422dc0
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x70]
push eax
push ecx
call fcn.0042bf45
mov eax, dword [edi + 0x98]
mov ecx, dword [edi + 0x94]
mov edx, dword [edi + 0xb8]
mov ebx, dword [edi + 0xb4]
push 0xcc0020
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x5c]
push esi
push esi
push eax
push edx
push ebx
push esi
push esi
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [edi + 0xcc]
cmp ecx, esi
je 0x422e19
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [edi + 0xcc], esi
push 8
call fcn.00425b4b
add esp, 4
cmp eax, esi
je 0x422e34
mov dword [eax + 4], esi
mov dword [eax], vtable.CFont.0
mov ebx, eax
jmp 0x422e36
xor ebx, ebx
lea ecx, [edi + 0xd0]
push ecx
mov dword [edi + 0xcc], ebx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, ebx
call fcn.0042be9f
mov ecx, dword [edi + 0x198]
cmp ecx, esi
lea eax, [edi + 0x194]
je 0x422e70
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 4
je 0x422e70
call fcn.00423780
mov eax, dword [edi + 0xcc]
push eax
lea ecx, [esp + 0x50]
call fcn.0042bf98
push 0x1919c8
lea ecx, [esp + 0x50]
call fcn.0042b5f7
push 1
lea ecx, [esp + 0x50]
call fcn.0042b5c9
mov eax, dword [edi + 0xa8]
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [esp + 0x54]
push eax
push 0x14
push 0x10
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
lea ecx, [ecx]
mov eax, dword [0x49dd70]
cmp eax, esi
je 0x4232d2
mov ecx, dword [0x49dd74]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x4232d2
mov ecx, dword [edi + 0x14c]
cmp ecx, esi
je 0x422f09
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [edi + 0x14c], esi
mov eax, ebx
cdq
sub eax, edx
mov ebx, eax
push 8
sar ebx, 1
call fcn.00425b4b
add esp, 4
cmp eax, esi
je 0x422f2b
mov dword [eax + 4], esi
mov dword [eax], vtable.CFont.0
mov esi, eax
lea ecx, [edi + 0x150]
push ecx
mov dword [edi + 0x14c], esi
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.0042be9f
mov edx, dword [edi + 0x14c]
push edx
lea ecx, [esp + 0x50]
call fcn.0042bf98
mov esi, dword [0x49dd70]
test esi, esi
je 0x422f81
mov ecx, dword [0x49dd74]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x422f8c
call fcn.004493d4
mov esi, dword [0x49dd70]
mov eax, dword [esp + 0x14]
cmp dword [eax + esi + 0x18], 0x10
jb 0x422f9d
mov esi, dword [eax + esi + 4]
jmp 0x422fa1
lea esi, [eax + esi + 4]
push esi
lea ecx, [esp + 0x20]
call fcn.00403900
lea esi, [edi + 0xac]
push eax
mov ecx, esi
mov byte [esp + 0x8c], 3
call fcn.0040d940
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422fe9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push 0x487434
push ecx
mov ecx, esi
call fcn.0040a980
push 0x487430
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x9c], 4
call fcn.0040a8a0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0x8c], 5
call fcn.0040d940
mov byte [esp + 0x88], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42304d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423075
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xff3218
lea ecx, [esp + 0x50]
call fcn.0042b5f7
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
mov edx, ebx
push ecx
shl edx, 4
push eax
mov eax, dword [esp + 0x58]
sub edx, ebx
lea ebx, [edx + edx + 0x32]
push ebx
push 0x10
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
mov esi, dword [esi]
mov eax, dword [esi - 0xc]
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x3c]
push ecx
push eax
push esi
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov esi, dword [0x49dd70]
add eax, 0x14
mov dword [esp + 0x64], eax
mov eax, ebx
add ecx, eax
test esi, esi
mov dword [esp + 0x5c], 0x14
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], ecx
je 0x423108
mov ecx, dword [0x49dd74]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x423113
call fcn.004493d4
mov esi, dword [0x49dd70]
mov edx, dword [esp + 0x14]
cmp dword [edx + esi + 0x34], 0x10
lea eax, [edx + esi + 0x1c]
jb 0x423127
mov eax, dword [eax + 4]
jmp 0x42312a
add eax, 4
push eax
lea ecx, [esp + 0x34]
call fcn.00403900
lea ecx, [esp + 0x2c]
push 0x487440
push ecx
mov ecx, eax
mov byte [esp + 0x90], 6
call fcn.0040a980
push 0x487438
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x9c], 7
call fcn.0040a8a0
add esp, 0x14
lea esi, [edi + 0xb0]
push eax
mov ecx, esi
mov byte [esp + 0x8c], 8
call fcn.0040d940
mov byte [esp + 0x88], 7
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4231a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4231ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4231f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x10c]
test ecx, ecx
je 0x423213
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [edi + 0x10c], 0
push 8
call fcn.00425b4b
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x423232
mov dword [eax + 4], ecx
mov dword [eax], vtable.CFont.0
mov dword [esp + 0x18], eax
jmp 0x423236
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x18]
lea edx, [edi + 0x110]
push edx
mov dword [edi + 0x10c], ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, dword [esp + 0x18]
push eax
call fcn.0042be9f
mov eax, dword [edi + 0x10c]
push eax
lea ecx, [esp + 0x50]
call fcn.0042bf98
push 0
lea ecx, [esp + 0x50]
call fcn.0042b5f7
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x3c]
push ecx
push eax
mov eax, dword [esp + 0x58]
push ebx
add edx, 0x10
push edx
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [esi]
mov edx, dword [eax - 0xc]
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x44]
add dword [esp + 0x64], edx
lea ebx, [esp + 0x5c]
lea esi, [edi + 0x194]
call fcn.00423700
add dword [esp + 0x10], 2
add dword [esp + 0x14], 0x70
mov ebx, dword [esp + 0x10]
xor esi, esi
jmp 0x422ec0
mov eax, dword [edi + 0xb8]
mov ecx, dword [esp + 0x50]
mov edi, dword [edi + 0xb4]
mov edx, dword [ebp + 8]
push 0xcc0020
push esi
push esi
push ecx
push eax
mov eax, dword [edx + 4]
push edi
push esi
push esi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x88], 1
call fcn.0042bc52
mov byte [esp + 0x88], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], vtable.CGdiObject.0
call fcn.0042bef2
lea ecx, [esp + 0x4c]
mov dword [esp + 0x88], 0xffffffff
call fcn.0042bc52
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4