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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x488bb8
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x40], eax
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x17], bl
lea esp, [esp]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x574]
cmp edi, ebx
je 0x41eb84
jmp 0x41e7f7
mov edi, dword [esp + 0x4c]
xor eax, eax
cmp edi, ebx
setne al
mov dword [esp + 0x5c], edi
cmp eax, ebx
je 0x41ebda
mov ecx, dword [edi]
xor edx, edx
cmp byte [esp + 0x17], bl
mov dword [esp + 0x44], edi
setne dl
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esp + 0x4c], ecx
setne al
cmp eax, edx
je 0x41eb7a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x16c]
mov esi, dword [edi + 0xc]
push ebx
push ebx
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x16c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push ebx
push 0x104d
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41eb7a
mov eax, dword [edi + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x2c], eax
mov ecx, 1
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x16c]
push ebx
push 0x104c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x20]
push eax
push 0x498e70
lea edi, [esp + 0x48]
call fcn.00421e00
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp + 8]
add esp, 8
lea edx, [esp + 0x18]
push edx
push ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x16c]
push 0x104c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 2
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x1c]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
call fcn.0046b15c
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x9c]
lea ecx, [esp + 0x68]
mov edi, eax
lea eax, [esp + 0x5c]
push eax
push ecx
call fcn.0046b15c
add esp, 0x10
cmp eax, ebx
jne 0x41e9ef
mov edx, dword [esp + 0x70]
add edx, 1
mov dword [esp + 0x50], edx
jmp 0x41e9f3
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0046b15c
add esp, 8
cmp eax, ebx
jne 0x41ea14
mov eax, dword [esp + 0x2c]
add eax, 0x76c
jmp 0x41ea16
xor eax, eax
mov edx, dword [esp + 0x50]
push edi
push edx
push eax
push str._u__u__u
lea edi, [esp + 0x50]
call fcn.00421e00
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
add esp, 0x10
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 + 0x34], eax
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
push ebx
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x16c]
push 0x104c
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 3
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call edi
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x34]
xor ecx, ecx
cmp eax, ebx
setne cl
xor eax, eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
add ecx, 1
shl ecx, 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
push esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x16c]
push 0x102b
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], 0xf000
call edi
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x60], 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x60]
push eax
push ebx
mov dword [esp + 0x88], edx
mov edx, dword [ecx + 0x16c]
push 0x104c
push edx
call edi
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x34], ebx
je 0x41eb7a
add dword [esp + 0x48], 1
cmp dword [esp + 0x4c], ebx
jne 0x41e7f3
mov al, byte [esp + 0x17]
add al, 1
cmp al, 1
mov byte [esp + 0x17], al
jbe 0x41e7e0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x168]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push edx
call esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x160]
push 0x499f08
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [edi + 0x160]
push 5
push ecx
call esi
cmp dword [esp + 0x48], ebx
jbe 0x41ebe4
mov edx, dword [edi + 0x160]
push 1
push edx
jmp 0x41ebec
push 0x80004005
call fcn.00416be0
mov eax, dword [edi + 0x160]
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [edi + 0x16c]
push 5
push ecx
call esi
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ec28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4