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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442378
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4533e4]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x4533e4]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], ax
mov dword [esp + 0xf8], ebx
mov eax, dword [0x455ca8]
call fcn.00408560
test al, al
je 0x41c936
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [esi + 4]
push eax
push ebx
push ecx
push 0x1e
push 0x5a
push ebx
push ebx
push 0x90000000
push str.Exit
push str.Button
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x38], eax
cmp dword [esi + 0x38], ebx
je 0x41c98e
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0xd8]
push edx
push eax
call edi
mov edx, dword [esi + 0x38]
lea ecx, [esp + 0xb4]
push ecx
push edx
call edi
mov eax, dword [esp + 0xb8]
sub eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xdc]
push 0x15
push ebx
push ebx
lea edx, [eax + ecx - 0xe]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esi + 0x38]
push edx
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
call fcn.0041bc90
lea edx, [esp + 0x98]
push edx
mov ecx, 0x1ff9
mov edx, 0x455cb8
call fcn.00412860
mov eax, dword [esp + 0x98]
mov ebx, 8
cmp dword [esp + 0xac], ebx
jae 0x41c9c7
lea eax, [esp + 0x98]
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 4]
push 0x458
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [esp + 0xc8]
mov edi, eax
push edx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0xd0]
sub esi, dword [esp + 0xc8]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x98]
push eax
mov ecx, 0x1f40
mov edx, 0x455cb8
mov dword [esp + 0x20], 6
call fcn.00412860
cmp dword [esp + 0xac], ebx
jb 0x41ca57
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x28], ecx
jmp 0x41ca62
lea edx, [esp + 0x98]
mov dword [esp + 0x28], edx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
imul ecx, ecx, 0x32
mov eax, 0x51eb851f
imul ecx
sar edx, 5
lea ecx, [esp + 0x1c]
push ecx
mov eax, edx
push 0
shr eax, 0x1f
push 0x1061
add eax, edx
push edi
mov dword [esp + 0x34], eax
call ebx
lea edx, [esp + 0x98]
push edx
mov ecx, 0x2058
mov edx, 0x455cb8
call fcn.00412860
cmp dword [esp + 0xac], 8
jb 0x41cabf
mov eax, dword [esp + 0x98]
mov dword [esp + 0x28], eax
jmp 0x41caca
lea ecx, [esp + 0x98]
mov dword [esp + 0x28], ecx
imul esi, esi, 0x19
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
lea edx, [esp + 0x1c]
push edx
push 1
push 0x1061
push edi
mov dword [esp + 0x34], esi
call ebx
lea eax, [esp + 0x98]
push eax
mov ecx, 0x205d
mov edx, 0x455cb8
call fcn.00412860
cmp dword [esp + 0xac], 8
jb 0x41cb1f
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x28], ecx
jmp 0x41cb2a
lea edx, [esp + 0x98]
mov dword [esp + 0x28], edx
lea eax, [esp + 0x1c]
push eax
push 1
push 0x1061
push edi
mov dword [esp + 0x34], esi
call ebx
push 0x34
lea ecx, [esp + 0x40]
push 0
push ecx
call fcn.00430c00
mov eax, dword [0x455ca8]
add eax, 0x188
mov dword [esp + 0x48], 1
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov esi, dword [eax]
add esp, 0xc
cmp esi, eax
je 0x41cca3
mov ebx, dword [esi + 0x28]
cmp dword [ebx + 0x68], 8
lea eax, [ebx + 0x54]
jb 0x41cb7e
mov eax, dword [eax]
push eax
call fcn.00418470
mov dword [esp + 0xb8], eax
lea eax, [ebx + 0x38]
add esp, 4
cmp dword [eax + 0x14], 8
mov dword [esp + 0xb8], edx
jb 0x41cba0
mov eax, dword [eax]
push eax
call fcn.00418470
add esp, 4
cmp dword [esp + 0xb8], edx
jl 0x41cc56
jg 0x41cbc5
cmp dword [esp + 0xb4], eax
jbe 0x41cc56
mov eax, dword [esi + 0x28]
add eax, 0x1c
cmp dword [eax + 0x14], 8
jb 0x41cbd9
mov edx, dword [eax]
mov dword [esp + 0x50], edx
jmp 0x41cbdd
mov dword [esp + 0x50], eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x3c]
push eax
push 0
push 0x104d
push edi
mov dword [esp + 0x54], 0
call ebx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x28]
add eax, 0x38
cmp dword [eax + 0x14], 8
jb 0x41cc12
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
jmp 0x41cc16
mov dword [esp + 0x50], eax
lea edx, [esp + 0x3c]
push edx
push 0
push 0x104c
push edi
mov dword [esp + 0x54], 1
call ebx
mov eax, dword [esi + 0x28]
add eax, 0x54
cmp dword [eax + 0x14], 8
jb 0x41cc3b
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0x104c
push edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], 2
call ebx
cmp byte [esi + 0x2d], 0
jne 0x41cc97
mov eax, dword [esi + 8]
cmp byte [eax + 0x2d], 0
jne 0x41cc7c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x2d], 0
jne 0x41cc97
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x2d], 0
je 0x41cc70
jmp 0x41cc97
mov eax, dword [esi + 4]
cmp byte [eax + 0x2d], 0
jne 0x41cc95
cmp esi, dword [eax + 8]
jne 0x41cc95
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x41cc85
mov esi, eax
mov edx, dword [esp + 0x18]
cmp esi, dword [edx]
jne 0x41cb70
mov ebx, dword [esp + 0x14]
mov edi, dword [ebx + 0x28]
or eax, 0xffffffff
add ebx, 0x24
xor esi, esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x74], 0x50a
mov dword [esp + 0x70], 1
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
cmp eax, edi
jae 0x41cd47
mov eax, dword [ebx]
lea ecx, [esp + 0x70]
cmp eax, ecx
ja 0x41cd47
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [ebx + 8]
jne 0x41cd29
mov ecx, ebx
call fcn.0042adf0
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
lea edx, [esi + esi*4]
lea esi, [eax + edx*8]
xor eax, eax
cmp edi, eax
je 0x41cd41
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 4], 0x28
jmp 0x41cd6b
cmp edi, dword [ebx + 8]
jne 0x41cd53
mov ecx, ebx
call fcn.0042adf0
mov edi, dword [ebx + 4]
cmp edi, esi
je 0x41cd65
mov ecx, 0xa
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 4], 0x28
xor eax, eax
mov edi, dword [ebx + 4]
mov ecx, 8
or esi, 0xffffffff
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x74], 6
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
cmp ecx, edi
jae 0x41ce00
mov edx, dword [ebx]
cmp edx, ecx
ja 0x41ce00
sub ecx, edx
mov eax, 0x66666667
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [ebx + 8]
jne 0x41cde1
mov ecx, ebx
call fcn.0042adf0
mov edi, dword [ebx + 4]
mov eax, dword [ebx]
lea edx, [esi + esi*4]
lea esi, [eax + edx*8]
test edi, edi
je 0x41cdf7
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 4], 0x28
or esi, 0xffffffff
jmp 0x41ce27
cmp edi, dword [ebx + 8]
jne 0x41ce0e
mov ecx, ebx
call fcn.0042adf0
xor eax, eax
mov edi, dword [ebx + 4]
cmp edi, eax
je 0x41ce23
mov ecx, 0xa
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
or esi, 0xffffffff
add dword [ebx + 4], 0x28
mov edi, dword [ebx + 4]
xor eax, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov esi, 8
lea ecx, [esp + 0x70]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x80], 6
mov dword [esp + 0x90], esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x94], esi
cmp ecx, edi
jae 0x41ceb1
mov edx, dword [ebx]
cmp edx, ecx
ja 0x41ceb1
sub ecx, edx
mov eax, 0x66666667
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [ebx + 8]
jne 0x41cea0
mov ecx, ebx
call fcn.0042adf0
mov edi, dword [ebx + 4]
mov eax, dword [ebx]
lea edx, [esi + esi*4]
lea esi, [eax + edx*8]
test edi, edi
je 0x41ced1
jmp 0x41ceca
cmp edi, dword [ebx + 8]
jne 0x41cebf
mov ecx, ebx
call fcn.0042adf0
xor eax, eax
mov edi, dword [ebx + 4]
cmp edi, eax
je 0x41ced6
lea esi, [esp + 0x70]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov esi, 8
add dword [ebx + 4], 0x28
mov edi, dword [ebx + 4]
xor ecx, ecx
lea edx, [esp + 0x70]
mov dword [esp + 0x74], 0x458
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x7c], 0x50a
mov dword [esp + 0x8c], esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x84], 7
mov dword [esp + 0x94], esi
cmp edx, edi
jae 0x41cf65
mov eax, dword [ebx]
cmp eax, edx
ja 0x41cf65
mov ecx, edx
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [ebx + 8]
jne 0x41cf54
mov ecx, ebx
call fcn.0042adf0
mov edi, dword [ebx + 4]
mov ecx, dword [ebx]
lea eax, [esi + esi*4]
lea esi, [ecx + eax*8]
test edi, edi
je 0x41cf85
jmp 0x41cf7e
cmp edi, dword [ebx + 8]
jne 0x41cf73
mov ecx, ebx
call fcn.0042adf0
xor ecx, ecx
mov edi, dword [ebx + 4]
cmp edi, ecx
je 0x41cf85
lea esi, [esp + 0x70]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x14]
add dword [ebx + 4], 0x28
mov ebx, dword [edx + 4]
mov edi, dword [esp + 0x18]
call fcn.0042ada0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esp + 0xac], 8
jb 0x41cfc5
mov edx, dword [esp + 0x98]
push edx
call fcn.0042c048
add esp, 4
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0042c039
mov esp, ebp
pop ebp
ret