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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x20480cb3
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x204a31e0]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
call sub.MFC80U.DLL_Ordinal_4574
mov esi, dword [edi + 0x94]
test esi, esi
je 0x20427748
mov ebx, dword [esi + 0xc]
xor edx, edx
test ebx, ebx
jle 0x20427748
xor ecx, ecx
test ecx, ecx
jl 0x20427c59
cmp edx, ebx
jge 0x20427c59
mov eax, dword [esi + 8]
add eax, ecx
cmp dword [eax + 4], 0
ja 0x20427755
add edx, 1
add ecx, 0xa4
cmp edx, ebx
jl 0x20427720
push 0
lea ecx, [edi + 0x1e8]
call sub.MFC80U.DLL_Ordinal_2155
mov eax, dword [edi + 0x90]
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x78]
add eax, ecx
jne 0x20427771
push eax
lea ecx, [edi + 0x194]
call sub.MFC80U.DLL_Ordinal_2155
mov eax, dword [edi + 0x90]
mov ebx, dword [eax + 0xb4]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x3c]
mov esi, dword [eax + 0x50]
mov dword [esp + 0x1c], ebx
mov ebx, dword [eax + 0xc8]
mov eax, dword [eax + 0xdc]
add eax, ebx
add eax, dword [esp + 0x1c]
add eax, esi
add eax, edx
add eax, ecx
jne 0x204277b0
push eax
lea ecx, [edi + 0x140]
call sub.MFC80U.DLL_Ordinal_2155
push 0x1c5
lea ebx, [edi + 0x2e4]
push 0x1c3
mov dword [esp + 0x24], ebx
call fcn.2042fa70
push 0x1c6
push 0x1c4
call fcn.2042fa70
cmp dword [edi + 0x88], 0
je 0x20427805
cmp dword [ebx + 0x70], 0
mov dword [ebx + 0x58], 0
jle 0x204277f7
push 0
mov esi, ebx
call fcn.2042faf0
mov eax, dword [ebx + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [edi + 0x8c], 0
je 0x20427f85
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
xor esi, esi
mov dword [esp + 0x1a0], esi
mov eax, dword [edi + 0x90]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x28]
cmp eax, esi
mov dword [esp + 0x10], esi
jle 0x20427909
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x20427c59
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx + 0x28]
jge 0x20427c59
mov edx, ecx
mov eax, dword [edx + 0x24]
mov ecx, dword [esp + 0x10]
movzx edx, byte [eax + ecx*4]
lea eax, [eax + ecx*4]
movzx ecx, byte [eax + 1]
push edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
push ecx
push edx
push eax
push str._d._d._d._d
push 0xffffffffffffffff
lea ecx, [esp + 0x114]
push 0x10
push ecx
call dword [sym.imp.MSVCR80.dll__snwprintf_s]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
add esp, 0x20
cmp edx, dword [eax + 0x28]
jge 0x20427c59
lea ecx, [esp + 0xfc]
push ecx
lea edx, [esp + 0x18]
push 0xf7
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x2b0]
add esp, 0xc
push eax
push esi
push 0x181
push ecx
call ebx
mov edx, dword [edi + 0x2b0]
push 0
push esi
push 0x19a
push edx
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x90]
add eax, 1
add esi, 1
cmp eax, dword [ecx + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
jl 0x20427844
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x3c], 0
mov dword [esp + 0x10], 0
jle 0x204279a7
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x104]
call fcn.20417ed0
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x1c]
push 0xf8
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x2b0]
add esp, 0x10
push eax
push esi
push 0x181
push ecx
call ebx
mov edx, dword [edi + 0x2b0]
push 1
push esi
push 0x19a
push edx
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x90]
add ecx, 1
add esi, 1
cmp ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], ecx
jl 0x20427921
mov eax, dword [edi + 0x90]
mov ecx, dword [eax + 0x50]
test ecx, ecx
mov dword [esp + 0x10], 0
jle 0x20427a46
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x104]
call fcn.20417f90
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x1c]
push 0xf9
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x2b0]
add esp, 0x10
push eax
push esi
push 0x181
push ecx
call ebx
mov edx, dword [edi + 0x2b0]
push 2
push esi
push 0x19a
push edx
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x90]
add ecx, 1
add esi, 1
cmp ecx, dword [eax + 0x50]
mov dword [esp + 0x10], ecx
jl 0x204279c0
mov eax, dword [edi + 0x90]
mov ecx, dword [eax + 0xc8]
xor edx, edx
cmp ecx, edx
mov dword [esp + 0x10], edx
jle 0x20427b20
mov dword [esp + 0x18], edx
cmp dword [esp + 0x18], 0
jl 0x20427c59
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0xc8]
jge 0x20427c59
mov eax, dword [eax + 0xc4]
add eax, dword [esp + 0x18]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x13c]
mov dword [esp + 0x28], edx
push ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x30], eax
push edx
mov eax, 0x28
call fcn.20406540
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x18]
push 0x1ab
push ecx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x2b0]
add esp, 0xc
push edx
push esi
push 0x181
push eax
call ebx
mov ecx, dword [edi + 0x2b0]
push 3
push esi
push 0x19a
push ecx
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x90]
add dword [esp + 0x18], 0x10
add ecx, 1
add esi, 1
cmp ecx, dword [eax + 0xc8]
mov dword [esp + 0x10], ecx
jl 0x20427a64
mov eax, dword [edi + 0x90]
xor ecx, ecx
cmp dword [eax + 0xdc], ecx
mov dword [esp + 0x10], ecx
jle 0x20427c3f
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x20], 0
jl 0x20427c59
mov edx, dword [esp + 0x10]
cmp edx, dword [eax + 0xdc]
jge 0x20427c59
mov eax, dword [eax + 0xd8]
add eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x32], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x36], edx
mov edx, dword [eax + 0xc]
mov al, byte [eax + 0x10]
mov dword [esp + 0x3a], ecx
lea ecx, [esp + 0x13c]
mov dword [esp + 0x3e], edx
push ecx
lea edx, [esp + 0x36]
mov byte [esp + 0x46], al
push edx
mov eax, 0x28
call fcn.20406540
mov eax, dword [edi + 0x90]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0xdc]
jge 0x20427c59
mov eax, dword [eax + 0xd8]
add eax, dword [esp + 0x20]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x43], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4b], edx
movzx edx, byte [eax + 0x10]
mov dword [esp + 0x47], ecx
mov ecx, dword [eax + 0xc]
push edx
lea eax, [esp + 0x140]
push eax
mov dword [esp + 0x57], ecx
lea ecx, [esp + 0x1c]
push 0x1b5
push ecx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0x2b0]
add esp, 0x10
push edx
push esi
push 0x181
push eax
call ebx
mov ecx, dword [edi + 0x2b0]
push 4
push esi
push 0x19a
push ecx
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x90]
add dword [esp + 0x20], 0x11
add ecx, 1
add esi, 1
cmp ecx, dword [eax + 0xdc]
mov dword [esp + 0x10], ecx
jl 0x20427b3c
mov eax, dword [edi + 0x90]
xor ecx, ecx
cmp dword [eax + 0xb4], ecx
mov dword [esp + 0x10], ecx
jle 0x20427d49
jmp 0x20427c64
jmp fcn.20477d24
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x94]
test edx, edx
je 0x20427cd1
test ecx, ecx
jl 0x20427c59
cmp ecx, dword [eax + 0xb4]
jge 0x20427c59
mov eax, dword [eax + 0xb0]
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
lea ecx, [esp + 0x54]
push ecx
mov ebx, eax
call fcn.2041ecd0
mov byte [esp + 0x1a0], 1
mov edx, dword [esp + 0xc4]
push edx
lea eax, [esp + 0x18]
push 0x2048a5c0
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0xc
mov byte [esp + 0x1a0], 0
lea ecx, [esp + 0x54]
call fcn.2041c400
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x20427d04
test ecx, ecx
jl 0x20427c59
cmp ecx, dword [eax + 0xb4]
jge 0x20427c59
mov ecx, dword [eax + 0xb0]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edx*4]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x18]
push 0x2048587c
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x2b0]
push ecx
push esi
push 0x181
push edx
call ebx
mov eax, dword [edi + 0x2b0]
push 5
push esi
push 0x19a
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x90]
add ecx, 1
add esi, 1
cmp ecx, dword [eax + 0xb4]
mov dword [esp + 0x10], ecx
jl 0x20427c60
mov eax, dword [edi + 0x90]
xor ecx, ecx
xor esi, esi
cmp dword [eax + 0x64], ecx
mov dword [esp + 0x10], ecx
jle 0x20427dd7
jmp 0x20427d64
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x20427c59
cmp ecx, dword [eax + 0x64]
jge 0x20427c59
mov ecx, dword [eax + 0x60]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edx*2]
movzx eax, word [eax]
movzx eax, ax
push eax
lea ecx, [esp + 0x18]
push 0xfa
push ecx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x25c]
add esp, 0xc
push edx
push esi
push 0x181
push eax
call ebx
mov ecx, dword [edi + 0x25c]
push 0
push esi
push 0x19a
push ecx
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x90]
add ecx, 1
add esi, 1
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x10], ecx
jl 0x20427d60
mov eax, dword [edi + 0x90]
xor ecx, ecx
cmp dword [eax + 0x78], ecx
mov dword [esp + 0x10], ecx
jle 0x20427e87
jmp 0x20427df4
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x20427c59
cmp ecx, dword [eax + 0x78]
jge 0x20427c59
mov edx, dword [eax + 0x74]
add ecx, ecx
add ecx, ecx
add edx, ecx
mov edx, dword [edx]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
cmp edx, dword [eax + 0x78]
jge 0x20427c59
mov eax, dword [eax + 0x74]
add eax, ecx
mov eax, dword [eax]
movzx ecx, word [esp + 0x1a]
movzx edx, ax
push ecx
push edx
lea eax, [esp + 0x1c]
push 0xfb
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x25c]
add esp, 0x10
push ecx
push esi
push 0x181
push edx
call ebx
mov eax, dword [edi + 0x25c]
push 1
push esi
push 0x19a
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x90]
add ecx, 1
add esi, 1
cmp ecx, dword [eax + 0x78]
mov dword [esp + 0x10], ecx
jl 0x20427df0
mov ecx, dword [edi + 0x2b0]
push 0
push 0
push 0x18b
push ecx
call ebx
test eax, eax
jle 0x20427eaf
mov edx, dword [edi + 0x2b0]
push 0
push 0
push 0x186
push edx
call ebx
mov eax, dword [edi + 0x25c]
push 0
push 0
push 0x18b
push eax
call ebx
test eax, eax
jle 0x20427ed7
mov ecx, dword [edi + 0x25c]
push 0
push 0
push 0x186
push ecx
call ebx
mov eax, dword [edi + 0x90]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x50]
add eax, ecx
add eax, edx
jne 0x20427f70
mov edi, dword [edi + 0x90]
mov eax, dword [edi + 0xc8]
mov edi, dword [edi + 0xdc]
add edi, eax
test edi, edi
jle 0x20427f70
mov esi, dword [esp + 0x1c]
mov edi, 1
mov dword [esi + 0x7c], edi
cmp dword [esi + 0x70], edi
jle 0x20427c59
mov eax, dword [esi + 0x6c]
add eax, 0xc
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov byte [esp + 0x1a0], 2
push 0x2048b6a0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
mov edx, dword [esp + 0x1c]
push edx
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_6063
mov eax, dword [esi + 0x20]
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0x1a0], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov dword [esp + 0x1a0], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.20478952
mov esp, ebp
pop ebp
ret