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

Disassembly:
push 0xffffffffffffffff
push 0x47d5c7
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4a15f0]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a15f0]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x124]
mov ebx, ecx
mov eax, dword [ebx + 0x94]
mov ecx, dword [eax + 0x44]
mov edi, dword [ecx + 0x48]
mov ecx, ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x34], edi
call fcn.0044ca60
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], eax
call fcn.0040c649
mov edx, dword [ebx + 0x20]
xor esi, esi
push edx
mov dword [esp + 0x120], esi
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040cbc5
lea eax, [edi + 0xc]
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x84]
call fcn.0045cb30
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x9c]
push ecx
push edx
mov byte [esp + 0x124], 1
mov dword [esp + 0x28], 3
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, ebx
call fcn.0044b100
mov eax, dword [ebx + 0x54]
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edx, eax
xor edi, edi
cmp edx, esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
jle 0x44cf53
lea ebx, [ebx]
push 0x1c
call fcn.00402320
add esp, 4
cmp eax, esi
je 0x44cc7f
mov ecx, dword [esp + 0x18]
push ecx
push ebx
mov ecx, eax
call fcn.0044a890
mov edi, eax
jmp 0x44cc81
xor edi, edi
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.0044bd50
mov ecx, edi
mov byte [esp + 0x11c], 2
xor ebp, ebp
call fcn.0044a4e0
test eax, eax
mov ecx, edi
je 0x44cd12
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], esi
call fcn.0044a480
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x94]
push eax
push 1
push 0x483630
push ecx
mov dword [esp + 0x78], esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x98]
mov ecx, edi
mov dword [esp + 0x6c], edx
call fcn.0044a4a0
mov ecx, dword [ebx + 0x90]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x5c]
push eax
push esi
push 0x2c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
add ebp, 0x28
jmp 0x44ced4
call fcn.0044a4c0
test eax, eax
je 0x44cd2e
mov esi, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, 0xfffffffd
add esi, 9
jmp 0x44ced4
mov ecx, edi
call fcn.0044a910
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], vtable.CFont.0
cmp eax, esi
mov byte [esp + 0x11c], 3
je 0x44cd9d
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0xd4]
push edx
push 0x3c
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
lea edx, [esp + 0xd4]
push edx
mov dword [esp + 0xe8], 0x2bc
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x30]
call fcn.0040ce8c
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x80]
call fcn.0045c6f0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], esi
jg 0x44cdab
or esi, 0xffffffff
jmp 0x44cdc5
push 9
push eax
call fcn.004231ec
add esp, 8
cmp eax, esi
jne 0x44cdbf
or esi, 0xffffffff
jmp 0x44cdc5
sub eax, dword [esp + 0x14]
mov esi, eax
xor ebp, ebp
cmp esi, 0xffffffff
je 0x44ce53
push esi
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040fb54
test esi, esi
mov byte [esp + 0x11c], 4
jl 0x44cfdb
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x44cfdb
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
mov byte [esi + edx], 0
mov esi, dword [esp + 0x4c]
mov eax, dword [esi - 0xc]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x74]
push ecx
push eax
push esi
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x90], eax
lea eax, [esi - 0x10]
mov byte [esp + 0x11c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ce53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
lea edx, [esp + 0x54]
push edx
push eax
mov eax, dword [esp + 0x48]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x8c], eax
je 0x44ce92
cmp esi, 0x16
lea ebp, [eax + ebp + 0x58]
jg 0x44cea0
mov esi, 0x16
jmp 0x44cea0
cmp esi, 0x11
lea ebp, [eax + ebp + 0x3d]
jg 0x44cea0
mov esi, 0x11
cmp dword [esp + 0x50], 0
je 0x44cebb
mov eax, dword [esp + 0x34]
add eax, 0xc
push eax
lea ecx, [esp + 0x80]
call fcn.0045c6f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x11c], 2
mov dword [esp + 0x2c], vtable.CFont.0
call fcn.0040d036
mov edx, dword [esp + 0x20]
add esi, edx
cmp dword [esp + 0x1c], ebp
lea eax, [ebp + 3]
mov ecx, 3
jg 0x44ceec
mov dword [esp + 0x1c], ebp
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], eax
lea ecx, [ebx + 0x58]
mov dword [edi + 0xc], esi
mov eax, dword [ecx + 8]
push edi
push eax
call fcn.0045e560
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], esi
mov byte [esp + 0x11c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cf30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 1
xor esi, esi
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jl 0x44cc60
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x48]
xor eax, eax
cmp edx, esi
jg 0x44cfe7
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x7c]
add edi, 6
add esi, 3
call fcn.0045c720
lea ecx, [esp + 0x38]
call fcn.0040cbf8
mov edx, dword [ebx + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x7c]
mov dword [ebp], edi
mov dword [ebp + 4], esi
mov byte [esp + 0x11c], 0
call fcn.0045cb70
lea ecx, [esp + 0x38]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0040cc3f
mov eax, ebp
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xfc]
xor ecx, esp
call fcn.0041f73c
add esp, 0x10c
ret 4
push 0x80070057
call fcn.00401ad0
xor esi, esi
cmp eax, esi
jl 0x44d00b
cmp eax, dword [ebx + 0x60]
jge 0x44d00b
mov ecx, dword [ebx + 0x5c]
lea ecx, [ecx + eax*4]
mov ecx, dword [ecx]
mov esi, dword [ecx]
add esi, edi
add eax, 1
cmp eax, edx
mov dword [ecx + 8], esi
jl 0x44cfe5
jmp 0x44cf5d
call fcn.0040c22d
int3