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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ea78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
xor ecx, ecx
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], esp
mov edx, dword [eax + 0x640]
mov dword [ebp - 0x1c], esi
test edx, edx
mov dword [ebp - 4], 0
je 0x445fda
mov ecx, dword [esi + 0x3c4]
test ecx, ecx
je 0x445f8a
mov ecx, dword [edx + 0x90]
test ecx, ecx
je 0x445f8a
mov eax, dword [eax + 0x408]
lea ecx, [esi + 0x3c0]
push eax
call fcn.0044ad10
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx + 0x640]
mov ecx, dword [eax + 0x8c]
test ecx, ecx
je 0x445fae
add eax, 0x48
lea ecx, [esi + 0x3c0]
push eax
call fcn.0044b290
jmp 0x445fbd
add eax, 0x48
lea ecx, [esi + 0x3c0]
push eax
call fcn.0044abc0
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax + 0x640]
mov edx, dword [ecx + 0x210]
mov edi, edx
mov ecx, dword [ecx + 0x214]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 0x410]
mov ebx, dword [eax + 0x414]
add eax, 0x410
or edx, ebx
jne 0x446009
test ecx, ecx
jl 0x446009
jg 0x445ff9
test edi, edi
jbe 0x446009
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push 0x138b
mov ecx, esi
call dword [eax + 0x78]
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x644], 5
je 0x4460ca
mov edx, dword [eax + 0x418]
mov ecx, dword [eax + 0x41c]
or edx, ecx
je 0x44606f
mov ecx, dword [eax + 0x410]
mov dword [ebp - 0x88], ecx
mov edx, dword [eax + 0x414]
mov dword [ebp - 0x84], edx
mov ecx, dword [eax + 0x418]
mov dword [ebp - 0x80], ecx
mov edx, dword [eax + 0x41c]
mov eax, dword [esi]
lea ecx, [ebp - 0x88]
push ecx
push 0x1389
mov ecx, esi
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], 0xffffffff
call dword [eax + 0x78]
jmp 0x4460ca
mov ecx, dword [eax + 0x640]
test ecx, ecx
je 0x4460ca
mov edx, dword [ecx + 0x70]
mov edi, dword [ecx + 0x74]
add ecx, 0x70
or edx, edi
je 0x4460ca
mov ecx, dword [eax + 0x640]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x88], edx
mov ecx, dword [ecx + 0x7c]
mov dword [ebp - 0x84], ecx
mov edx, dword [eax + 0x640]
mov eax, dword [edx + 0x70]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x88]
mov ecx, dword [edx + 0x74]
mov edx, dword [esi]
mov dword [ebp - 0x7c], ecx
push eax
push 0x1389
mov ecx, esi
mov dword [ebp - 0x78], 0xffffffff
call dword [edx + 0x78]
mov eax, dword [esi + 0x3c0]
test eax, eax
je 0x4460e3
push 0
push 0
mov ecx, esi
call fcn.00445df0
test eax, eax
je 0x4460fb
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx + 0x644]
cmp eax, 3
je 0x4460fb
cmp eax, 5
mov edi, 0xffffff
jne 0x446100
mov edi, 0xff0000
push esi
lea ecx, [ebp - 0x70]
call fcn.0053aa4b
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0053adb0
mov edx, dword [esi + 0x1c]
lea ebx, [esi + 0x3a8]
push ebx
push 0x49b
push edx
mov byte [ebp - 4], 2
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebx
mov ecx, esi
call fcn.0053a901
mov edi, dword [ebx]
mov edx, dword [esi + 0x3b0]
mov ecx, dword [esi + 0x3ac]
add edi, 2
mov dword [ebx], edi
mov edi, dword [esi + 0x3b4]
mov eax, 0xfffffffe
add ecx, 2
add edx, eax
add edi, eax
mov dword [esi + 0x3b0], edx
mov dword [esi + 0x3ac], ecx
mov dword [esi + 0x3b4], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], vtable.CRgn.0
push ebx
mov byte [ebp - 4], 3
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [ebp - 0x24]
call fcn.0053acf3
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x70]
push eax
call fcn.0053a740
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x6c]
neg eax
sbb eax, eax
and eax, edx
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esi + 0x5c]
mov eax, dword [edx + 0x644]
cmp eax, 3
je 0x44642b
cmp eax, 5
je 0x44642b
mov eax, dword [esi + 0x3c0]
test eax, eax
je 0x44627e
push 0xffffff
lea ecx, [ebp - 0x18]
call fcn.0053adb0
mov eax, ebx
mov edi, dword [esi + 0x3c0]
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x58], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x54], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x50], edx
test edi, edi
je 0x446264
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
mov ecx, esi
call fcn.00445df0
mov edx, dword [ebx]
add edx, eax
mov dword [ebp - 0x5c], edx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, esi
call fcn.00445df0
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x14]
add edx, eax
lea eax, [ebp - 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 0x54], edx
and eax, ecx
mov ecx, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edi, dword [edi + 0x10]
jmp 0x446215
mov edi, vtable.CGdiObject.0
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.0053ad4a
mov byte [ebp - 4], 3
jmp 0x446283
mov edi, vtable.CGdiObject.0
mov edx, dword [esi + 0x5c]
mov eax, dword [edx + 0x640]
test eax, eax
je 0x446413
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x58], ecx
push 1
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
call fcn.0053a4c5
push 0xff00ff
lea ecx, [ebp - 0x70]
call fcn.0053a4f3
push 0xff00ff
push 1
push 0
lea ecx, [ebp - 0x44]
call fcn.0053ad60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x70]
call fcn.0053a450
push 0xff0000
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
call fcn.0053adb0
mov edx, dword [esi + 0x5c]
mov byte [ebp - 4], 9
mov eax, dword [edx + 0x640]
mov ebx, dword [eax + 0x5c]
test ebx, ebx
je 0x4463e9
test ebx, ebx
je 0x4463e9
mov eax, dword [ebx]
test eax, eax
je 0x4463e1
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jne 0x4463e1
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00445df0
mov ecx, dword [esi + 0x3a8]
add ecx, eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
add edx, ecx
mov ecx, dword [eax + 0x3c]
adc ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00445df0
mov edx, dword [esi + 0x3a8]
mov ecx, dword [ebp - 0x6c]
add edx, eax
lea eax, [ebp - 0x3c]
neg eax
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x38]
sbb eax, eax
and eax, edx
push eax
lea eax, [ebp - 0x5c]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [edx + 0x30]
push ecx
mov ecx, esi
call fcn.00445df0
mov edx, dword [esi + 0x3a8]
add edx, eax
mov dword [ebp - 0x54], edx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x28]
push edx
call fcn.00445df0
mov edi, dword [esi + 0x3a8]
lea ecx, [ebp - 0x4c]
add edi, eax
mov eax, dword [esi + 0x3ac]
push eax
push edi
push ecx
lea ecx, [ebp - 0x70]
call fcn.0053a804
mov edx, dword [esi + 0x3b4]
lea ecx, [ebp - 0x70]
push edx
push edi
call fcn.0053a850
mov edi, vtable.CGdiObject.0
mov ebx, dword [ebx + 0x1c]
jmp 0x44630b
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x70]
push eax
call fcn.0053a450
mov dword [ebp - 0x3c], edi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.0053ad4a
mov dword [ebp - 0x44], edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.0053ad4a
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.0053ad4a
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 0xd
jmp 0x446446
mov esi, vtable.CGdiObject.0
mov dword [ebp - 0x24], esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0053ad4a
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.0053ad4a
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.0053aabd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret