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

Disassembly:
push 0xffffffffffffffff
push 0x478d7e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4968d4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 4]
test eax, eax
je 0x41a3dd
cmp dword [eax + 8], 0
mov dword [esp + 0x14], 0
je 0x41a3dd
mov ebp, dword [esp + 0x60]
xor eax, eax
add ebp, 0x18
mov ecx, dword [esp + 0x60]
mov esi, dword [ecx + 4]
mov edx, dword [esi + eax + 0x1c]
add esi, eax
mov dword [esp + 0x30], edx
mov eax, dword [esi + 0x20]
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x38], ecx
mov edx, dword [esi + 0x28]
push 0x3c0
mov dword [esp + 0x40], edx
call fcn.00434537
add esp, 4
mov dword [esp + 0x24], eax
xor ebx, ebx
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x41a27a
push eax
call fcn.00401000
mov ebx, eax
mov dword [esp + 0x58], 0xffffffff
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [ebx]
mov edx, dword [edx + 0x134]
push ecx
mov ecx, dword [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
push ecx
push 0x10000000
push eax
mov ecx, ebx
mov dword [esp + 0x2c], ebx
call edx
mov eax, dword [esi + 8]
push 0xff00ff
mov dword [ebx + 0x354], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x10]
push 0xff00ff
push ecx
push edx
push eax
push ebx
call fcn.004025c0
mov edi, dword [esi]
mov eax, ebx
call fcn.004027e0
mov esi, dword [esi + 0x2c]
push 0x208
lea edi, [ebx + 0x14c]
push 0
push edi
call fcn.00455df0
add esp, 0xc
test esi, esi
je 0x41a30b
push 0x104
push esi
push 0x104
push edi
call fcn.00454576
add esp, 0x10
mov ecx, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, 1
push edi
push 0
push ecx
mov dword [ebx + 0x5c], edi
call esi
mov eax, dword [ebx + 0x128]
test eax, eax
mov dword [ebx + 0x64], edi
je 0x41a343
mov ecx, dword [ebx + 0x13c]
test ecx, ecx
je 0x41a343
mov ecx, dword [ecx + 4]
push ecx
push eax
call fcn.0043b721
lea ecx, [ebx + 0x134]
call fcn.0043b6a6
lea ecx, [ebx + 0x124]
call fcn.0043b3f0
mov edx, dword [ebx + 0x20]
push edi
push 0
push edx
mov dword [ebx + 0x84], 0
call esi
mov eax, dword [ebp + 4]
test eax, eax
jne 0x41a377
xor edx, edx
jmp 0x41a37f
mov edx, dword [ebp + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x41a39c
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x41a39c
mov eax, dword [ebp + 8]
mov dword [eax], ebx
add eax, 4
mov dword [ebp + 8], eax
jmp 0x41a3bb
mov esi, dword [ebp + 8]
cmp eax, esi
jbe 0x41a3a8
call fcn.0045520c
push esi
push ebp
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
mov eax, ebp
call fcn.0041ae60
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + 4]
add eax, edi
mov dword [esp + 0x14], eax
lea eax, [eax + eax*2]
shl eax, 4
cmp dword [eax + ecx + 8], 0
jne 0x41a231
mov esi, dword [esp + 0x60]
cmp dword [esi + 8], 0
je 0x41a602
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x18], 0
call fcn.0041ad20
mov dword [esp + 0x58], 1
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0
je 0x41a5ed
xor eax, eax
mov ecx, dword [esp + 0x60]
mov esi, dword [ecx + 8]
mov edx, dword [esi + eax + 0x14]
add esi, eax
mov dword [esp + 0x40], edx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x48], ecx
mov edx, dword [esi + 0x20]
push 0x3c0
mov dword [esp + 0x50], edx
call fcn.00434537
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x58], 2
test eax, eax
je 0x41a45e
push eax
call fcn.00401000
mov ebp, eax
jmp 0x41a460
xor ebp, ebp
mov byte [esp + 0x58], 1
mov ecx, dword [esi + 8]
mov eax, dword [esi]
mov edx, dword [ebp]
mov edx, dword [edx + 0x134]
push ecx
mov ecx, dword [esp + 0x68]
push ecx
lea ecx, [esp + 0x48]
push ecx
push 0x10000004
push eax
mov ecx, ebp
mov dword [esp + 0x2c], ebp
call edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push 0
push 0
push 0
push 0
push eax
push ecx
push ebp
call fcn.004025c0
mov edi, dword [esi]
mov eax, ebp
call fcn.004027e0
mov eax, dword [ebp + 0x128]
test eax, eax
mov dword [ebp + 0x64], 1
je 0x41a4d0
mov ecx, dword [ebp + 0x13c]
test ecx, ecx
je 0x41a4d0
mov ecx, dword [ecx + 4]
push ecx
push eax
call fcn.0043b721
lea ecx, [ebp + 0x134]
call fcn.0043b6a6
lea ecx, [ebp + 0x124]
call fcn.0043b3f0
mov edx, dword [ebp + 0x20]
push 1
push 0
push edx
mov dword [ebp + 0x84], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ebx, [esi + 4]
lea eax, [esp + 0x1c]
lea esi, [esp + 0x30]
call fcn.0041c740
mov esi, dword [esp + 0x1c]
test esi, esi
mov edi, dword [esp + 0x34]
je 0x41a522
lea eax, [esp + 0x30]
cmp esi, eax
je 0x41a527
call fcn.0045520c
cmp dword [esp + 0x20], edi
jne 0x41a53a
lea eax, [esp + 0x30]
call fcn.0041ad90
mov dword [eax], ebp
jmp 0x41a577
test esi, esi
jne 0x41a543
call fcn.0045520c
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esi + 4]
jne 0x41a551
call fcn.0045520c
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x58]
add eax, 0x54
test ecx, ecx
je 0x41a56e
lea eax, [ecx + 0x54]
mov ecx, ebp
call fcn.0041ae10
jmp 0x41a577
mov dword [eax + 4], ebp
add eax, 0xffffffac
mov dword [ebp + 0x54], eax
mov ebx, dword [esp + 0x60]
mov edx, dword [ebx + 0x1c]
test edx, edx
lea esi, [ebx + 0x18]
jne 0x41a589
xor ecx, ecx
jmp 0x41a591
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x41a5ae
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x41a5ae
mov eax, dword [esi + 8]
mov dword [eax], ebp
add eax, 4
mov dword [esi + 8], eax
jmp 0x41a5cd
mov edi, dword [esi + 8]
cmp edx, edi
jbe 0x41a5ba
call fcn.0045520c
push edi
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
mov eax, esi
call fcn.0041ae60
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 8]
add eax, 1
mov dword [esp + 0x14], eax
lea eax, [eax + eax*8]
add eax, eax
add eax, eax
cmp dword [eax + edx + 8], 0
jne 0x41a414
mov dword [esp + 0x58], 0xffffffff
lea eax, [esp + 0x30]
call fcn.0041b0e0
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x41a7e8
cmp dword [eax], 0
mov dword [esp + 0x14], 0
je 0x41a7e8
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x60]
lea edx, [ecx + 0x48]
xor eax, eax
add ecx, 0x38
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ecx
mov edi, dword [ebp + 0x10]
push 0x54
add edi, eax
call fcn.00434537
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov ebx, 4
mov dword [esp + 0x58], ebx
test esi, esi
je 0x41a670
mov ecx, esi
call fcn.00435aa5
mov byte [esp + 0x58], 5
mov dword [esi], vtable.CStatic.0
mov byte [esp + 0x58], bl
jmp 0x41a672
xor esi, esi
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [ebp]
push eax
lea ecx, [eax + 1]
mov eax, dword [esp + 0x68]
mov dword [ebp], ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
push eax
lea ecx, [edi + 4]
push ecx
push 0x10000000
push 0x484714
mov ecx, esi
mov dword [esp + 0x30], esi
call edx
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 4]
test eax, eax
jne 0x41a6b6
xor edx, edx
jmp 0x41a6be
mov edx, dword [ebx + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x41a6db
mov ecx, dword [ebx + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x41a6db
mov eax, dword [ebx + 8]
mov dword [eax], esi
add eax, 4
mov dword [ebx + 8], eax
jmp 0x41a6fe
mov ecx, ebx
mov ebx, dword [ecx + 8]
cmp eax, ebx
jbe 0x41a6e9
call fcn.0045520c
mov eax, dword [esp + 0x18]
push ebx
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x34]
push ecx
call fcn.0041ae60
mov ecx, dword [edi + 0x14]
xor ebx, ebx
test ecx, ecx
je 0x41a70f
push ebp
call fcn.0041ab40
mov ebx, eax
push 0x108
call fcn.00434537
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], 6
test eax, eax
je 0x41a73b
push ebx
mov ebx, dword [edi + 0x18]
push esi
push eax
call fcn.00416970
mov esi, eax
jmp 0x41a73d
xor esi, esi
mov dword [esp + 0x58], 0xffffffff
mov edx, dword [edi]
push edx
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.0043a257
test esi, esi
jne 0x41a75b
xor eax, eax
jmp 0x41a75e
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41a770
mov dword [esi + 0x78], 1
mov edi, dword [esp + 0x24]
mov edx, dword [edi + 4]
test edx, edx
jne 0x41a77f
xor ecx, ecx
jmp 0x41a787
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x41a7a4
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x41a7a4
mov eax, dword [edi + 8]
mov dword [eax], esi
add eax, 4
mov dword [edi + 8], eax
jmp 0x41a7c3
mov esi, dword [edi + 8]
cmp edx, esi
jbe 0x41a7b0
call fcn.0045520c
push esi
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov eax, edi
call fcn.0041ae60
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
add ecx, 1
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
add eax, eax
cmp dword [eax + edx], 0
mov dword [esp + 0x14], ecx
jne 0x41a636
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, edi
je 0x41a90e
mov eax, dword [eax + 4]
cmp dword [eax - 0xc], edi
mov dword [esp + 0x14], edi
jle 0x41a90e
lea esp, [esp]
mov ecx, dword [esp + 0x60]
mov esi, dword [ecx + 0xc]
push 0xb0
add esi, edi
call fcn.00434537
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], 7
test eax, eax
je 0x41a840
push eax
call fcn.004100b0
mov ebp, eax
jmp 0x41a842
xor ebp, ebp
mov dword [esp + 0x58], 0xffffffff
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0xc]
mov ebx, dword [edi + eax]
mov edi, dword [esp + 0x64]
push ebp
mov dword [esp + 0x28], ebp
call fcn.004103f0
test eax, eax
je 0x41a96a
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 0x10]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebp
call fcn.0043a27a
mov esi, dword [esi + 4]
push esi
push ebp
call fcn.004104b0
mov ebx, dword [esp + 0x60]
mov eax, dword [ebx + 0x2c]
test eax, eax
lea esi, [ebx + 0x28]
jne 0x41a8a3
xor edx, edx
jmp 0x41a8ab
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x41a8c8
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x41a8c8
mov eax, dword [esi + 8]
mov dword [eax], ebp
add eax, 4
mov dword [esi + 8], eax
jmp 0x41a8e7
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x41a8d4
call fcn.0045520c
push edi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov eax, esi
call fcn.0041ae60
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0xc]
add edi, 1
mov dword [esp + 0x14], edi
lea edi, [edi + edi*2]
add edi, edi
add edi, edi
add edi, edi
mov eax, dword [edi + edx + 4]
cmp dword [eax - 0xc], 0
jg 0x41a810
mov ebp, ebx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x41aa33
cmp dword [eax], 0
mov dword [esp + 0x14], 0
je 0x41aa33
xor eax, eax
lea ebx, [ebp + 0x58]
nop
mov esi, dword [ebp + 0x14]
push 0x54
add esi, eax
call fcn.00434537
mov edi, eax
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x58], 8
test edi, edi
je 0x41a971
mov ecx, edi
call fcn.00435aa5
mov byte [esp + 0x58], 9
mov dword [edi], vtable.CEdit.0
mov byte [esp + 0x58], 8
jmp 0x41a973
xor eax, eax
jmp 0x41aa38
xor edi, edi
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esi + 0x1c]
neg eax
sbb eax, eax
and eax, 0xf84
add eax, 0x10000080
cmp dword [esi + 0x18], 0
mov dword [esp + 0x60], edi
je 0x41a99b
or eax, 0x2000
cmp dword [esi + 0x20], 0
je 0x41a9a4
or eax, 0x20
mov ecx, dword [esi]
mov edx, dword [esp + 0x64]
push ecx
push edx
lea ecx, [esi + 4]
push ecx
push eax
mov ecx, edi
call fcn.00434633
mov edx, dword [esi + 0x14]
mov eax, dword [esi]
push edx
push eax
push ebp
call fcn.0041aaa0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x41a9d0
xor edx, edx
jmp 0x41a9d8
mov edx, dword [ebx + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x41a9f5
mov ecx, dword [ebx + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x41a9f5
mov eax, dword [ebx + 8]
mov dword [eax], edi
add eax, 4
mov dword [ebx + 8], eax
jmp 0x41aa14
mov esi, dword [ebx + 8]
cmp eax, esi
jbe 0x41aa01
call fcn.0045520c
push esi
push ebx
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x3c]
push edx
mov eax, ebx
call fcn.0041ae60
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
add eax, 1
mov dword [esp + 0x14], eax
lea eax, [eax + eax*8]
add eax, eax
add eax, eax
cmp dword [eax + ecx], 0
jne 0x41a930
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8