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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x20481008
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x204a31e0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x110]
movzx ecx, byte [eax + 0xa0]
mov dword [edi + 0x118], ecx
mov ecx, edi
mov dword [esp + 0x18], edi
call sub.MFC80U.DLL_Ordinal_4574
mov edx, dword [edi + 0x1e4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x50
push 0xc5
push edx
call esi
mov eax, dword [edi + 0x238]
push 0
push 0xfa
push 0xc5
push eax
call esi
mov eax, dword [edi + 0x110]
mov ebx, dword [eax + 0x38]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x20], ebx
mov ebx, dword [eax + 0x4c]
mov eax, dword [eax + 0x60]
add eax, ebx
add eax, dword [esp + 0x20]
add eax, edx
add eax, ecx
jne 0x2047395e
push eax
lea ecx, [edi + 0x11c]
call sub.MFC80U.DLL_Ordinal_2155
mov ecx, dword [edi + 0x110]
mov eax, dword [ecx + 4]
cmp eax, 0x80000000
jb 0x20473987
push 0x4d9
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_2651
test eax, eax
je 0x20473987
push 0
mov ecx, eax
call sub.MFC80U.DLL_Ordinal_2155
mov edx, dword [edi + 0x110]
mov eax, dword [edx + 4]
cmp eax, 0x80000000
jne 0x20473a8c
cmp dword [edi + 0x10c], 0
je 0x20473a8c
mov eax, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_LockWindowUpdate]
push eax
call ebx
mov esi, edi
call fcn.204750d0
lea esi, [edi + 0x170]
push 1
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_2155
push 5
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_6086
mov edx, dword [edi + 0x28c]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x38]
push ecx
push edx
call esi
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_5609
mov edx, dword [edi + 0x13c]
lea ecx, [esp + 0x24]
push ecx
push edx
call esi
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_5609
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
sub esi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, eax
sub ecx, esi
push 1
mov dword [esp + 0x34], eax
sub eax, ecx
push eax
mov eax, dword [esp + 0x2c]
sub edx, eax
push edx
push ecx
mov dword [esp + 0x38], ecx
push eax
lea ecx, [edi + 0x11c]
call sub.MFC80U.DLL_Ordinal_4119
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, ecx
lea ecx, [eax + esi]
mov dword [esp + 0x30], ecx
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x2c]
sub edx, ecx
push edx
push eax
push ecx
lea ecx, [edi + 0x80]
mov dword [esp + 0x3c], eax
call sub.MFC80U.DLL_Ordinal_4119
mov esi, edi
call fcn.20475090
push 0
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x1c5
lea ebx, [edi + 0x80]
push 0x1c3
mov dword [esp + 0x28], ebx
call fcn.2042fa70
push 0x1c6
push 0x1c4
call fcn.2042fa70
cmp dword [edi + 0x78], 0
je 0x20473ae4
cmp dword [ebx + 0x70], 0
mov dword [ebx + 0x58], 0
jle 0x20473ad6
push 0
mov esi, ebx
call fcn.2042faf0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [edi + 0x114], 0
je 0x20474010
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
xor ebx, ebx
mov dword [esp + 0xf0], ebx
mov ecx, dword [edi + 0x110]
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x20473b1d
push eax
lea ecx, [edi + 0x1c4]
call sub.MFC80U.DLL_Ordinal_6063
mov edx, dword [edi + 0x110]
mov eax, dword [edx + 0x6c]
test eax, eax
je 0x20473b36
push eax
lea ecx, [edi + 0x218]
call sub.MFC80U.DLL_Ordinal_6063
mov ecx, dword [edi + 0x110]
mov ecx, dword [ecx + 0x10]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x14], eax
jg 0x20473cc4
mov eax, dword [edi + 0x110]
cmp dword [eax + 0x24], 0
mov dword [esp + 0x14], 0
jle 0x20473bf3
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x110]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x54]
call fcn.2041e0f0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x24]
push 0xf8
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x28c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x10
push eax
push ebx
push 0x181
push ecx
call edi
mov edx, dword [esi + 0x28c]
push 1
push ebx
push 0x19a
push edx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x110]
add eax, 1
add ebx, 1
cmp eax, dword [ecx + 0x24]
mov dword [esp + 0x14], eax
jl 0x20473b65
mov edi, esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi + 0x110]
cmp dword [edx + 0x38], 0
mov dword [esp + 0x14], 0
jle 0x20473c99
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esi + 0x110]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x54]
call fcn.2041e1b0
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x24]
push 0xf9
push ecx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x28c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x10
push edx
push ebx
push 0x181
push eax
call edi
mov ecx, dword [esi + 0x28c]
push 2
push ebx
push 0x19a
push ecx
call edi
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x110]
add eax, 1
add ebx, 1
cmp eax, dword [edx + 0x38]
mov dword [esp + 0x14], eax
jl 0x20473c0b
mov edi, esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x110]
mov eax, dword [eax + 0x4c]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x14], ecx
jle 0x20473e32
mov dword [esp + 0x18], ecx
jmp 0x20473d85
mov eax, dword [esp + 0x14]
test eax, eax
mov ecx, dword [edi + 0x110]
mov dword [esp + 0x24], ecx
jl 0x20473d7c
cmp eax, dword [ecx + 0x10]
jge 0x20473d7c
mov edx, dword [ecx + 0xc]
movzx ecx, byte [edx + eax*4]
lea eax, [edx + eax*4]
movzx edx, byte [eax + 1]
push ecx
movzx ecx, byte [eax + 2]
push edx
movzx edx, byte [eax + 3]
push ecx
push edx
push str._d._d._d._d
push 0xffffffffffffffff
lea eax, [esp + 0x64]
push 0x10
push eax
call dword [sym.imp.MSVCR80.dll__snwprintf_s]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
add esp, 0x20
cmp ecx, dword [edx + 0x10]
jge 0x20473d7c
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
push 0xf7
push ecx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 0x28c]
add esp, 0xc
push edx
push ebx
push 0x181
push eax
call esi
mov ecx, dword [edi + 0x28c]
push 0
push ebx
push 0x19a
push ecx
call esi
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x110]
add eax, 1
add ebx, 1
cmp eax, dword [edx + 0x10]
mov dword [esp + 0x14], eax
jl 0x20473cc0
jmp 0x20473b4d
jmp fcn.20477d24
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov eax, dword [edi + 0x110]
jl 0x20473d7c
mov edx, dword [esp + 0x14]
cmp edx, dword [eax + 0x4c]
jge 0x20473d7c
mov eax, dword [eax + 0x48]
mov edx, dword [eax + ecx + 4]
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x8c]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x28]
push ecx
mov eax, 0x28
mov dword [esp + 0x38], edx
call fcn.20406540
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x20]
push 0x1ab
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x28c]
add esp, 0xc
push ecx
push ebx
push 0x181
push edx
call esi
mov eax, dword [edi + 0x28c]
push 3
push ebx
push 0x19a
push eax
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x110]
add dword [esp + 0x18], 0x10
add eax, 1
add ebx, 1
cmp eax, dword [ecx + 0x4c]
mov dword [esp + 0x14], eax
jl 0x20473d81
mov edx, dword [edi + 0x110]
xor ecx, ecx
cmp dword [edx + 0x60], ecx
mov dword [esp + 0x14], ecx
jle 0x20473f4a
mov dword [esp + 0x18], ecx
jmp 0x20473e54
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov eax, dword [edi + 0x110]
jl 0x20473d7c
mov edx, dword [esp + 0x14]
cmp edx, dword [eax + 0x60]
jge 0x20473d7c
mov eax, dword [eax + 0x5c]
mov edx, dword [eax + ecx + 4]
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0xc]
mov al, byte [eax + 0x10]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x44], edx
push ecx
lea edx, [esp + 0x3c]
mov byte [esp + 0x4c], al
push edx
mov eax, 0x28
call fcn.20406540
mov eax, dword [edi + 0x110]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x60]
jge 0x20473d7c
mov eax, dword [eax + 0x5c]
add eax, dword [esp + 0x18]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edx
movzx edx, byte [eax + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0xc]
push edx
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x24]
push 0x1b5
push ecx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
mov edx, dword [esp + 0x2c]
mov eax, dword [edi + 0x28c]
add esp, 0x10
push edx
push ebx
push 0x181
push eax
call esi
mov ecx, dword [edi + 0x28c]
push 4
push ebx
push 0x19a
push ecx
call esi
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x110]
add dword [esp + 0x18], 0x11
add eax, 1
add ebx, 1
cmp eax, dword [edx + 0x60]
mov dword [esp + 0x14], eax
jl 0x20473e50
mov eax, dword [edi + 0x28c]
push 0
push 0
push 0x18b
push eax
call esi
test eax, eax
jle 0x20473f72
mov ecx, dword [edi + 0x28c]
push 0
push 0
push 0x186
push ecx
call esi
mov edi, dword [edi + 0x110]
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x10]
add edx, ecx
add edx, eax
jne 0x20473ffb
mov eax, dword [edi + 0x4c]
mov edi, dword [edi + 0x60]
add edi, eax
test edi, edi
jle 0x20473ffb
mov esi, dword [esp + 0x20]
mov edi, 1
mov dword [esi + 0x7c], edi
cmp dword [esi + 0x70], edi
jle 0x20473d7c
mov eax, dword [esi + 0x6c]
add eax, 0xc
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov byte [esp + 0xf0], 1
push 0x2048b6a0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
mov edx, dword [esp + 0x20]
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 + 0xf0], 0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov dword [esp + 0xf0], 0xffffffff
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.20478952
mov esp, ebp
pop ebp
ret