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

Disassembly:
push 0xffffffffffffffff
push 0x44aeed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 4
xor ebx, ebx
mov edi, 0xf
push str.SCNS
lea ecx, [esp + 0x80]
mov dword [esp + 0x20], esi
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.00401ab0
lea eax, [esp + 0x78]
push eax
lea ecx, [esi + 0x2c]
mov dword [esp + 0x238], ebx
call fcn.00404600
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004019c0
mov eax, dword [esp + 0x90]
mov ebp, 0x10
cmp eax, ebp
mov byte [esp + 0x234], 2
jb 0x41cce6
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0043c389
add esp, 4
mov edx, dword [esp + 0x54]
push 1
push 0x44f9f4
push edx
push ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], 0
call fcn.00414c80
test eax, eax
je 0x41d24d
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], 0
mov eax, dword [esi + 0x9c]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x234], 3
mov dword [esp + 0x38], edi
jle 0x41d23c
add esi, 0x94
push edi
mov ecx, esi
call fcn.00417300
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.004019c0
cmp dword [esp + 0x34], ebp
mov eax, dword [esp + 0x20]
jae 0x41cd6c
lea eax, [esp + 0x20]
push str.Text
push eax
call fcn.0043cd34
add esp, 8
test eax, eax
jne 0x41d169
push edi
mov ecx, esi
call fcn.00418180
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.004019c0
mov ecx, dword [esp + 0x30]
add ecx, 0xa
push ecx
call fcn.0043bf47
mov ecx, dword [esp + 0x34]
add ecx, 0xa
mov edx, ecx
mov ebx, eax
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
add esp, 4
cmp eax, ebp
jae 0x41cdd2
lea edx, [esp + 0x20]
mov ecx, ebx
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
test al, al
jne 0x41cdd4
mov eax, dword [0x462738]
mov ecx, 0x462738
call dword [eax + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 4
call fcn.004176d0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 4]
mov esi, dword [edx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
sub eax, esi
or eax, ecx
mov byte [esp + 0x234], 5
jge 0x41ce34
push esi
lea ecx, [esp + 0x14]
call fcn.0040efc0
mov edx, dword [esp + 0x10]
push edx
call fcn.0043dcd0
add esp, 4
test esi, esi
jl 0x41d21d
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x41d21d
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x10]
mov byte [esi + ecx], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x41cf78
push str.timeout
push ecx
call fcn.0043d8ae
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x41ce89
sub eax, ecx
cmp eax, 0xffffffff
jne 0x41ceb9
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x41cf78
push str._timeout
push ecx
call fcn.0043d8ae
add esp, 8
test eax, eax
je 0x41cf78
mov ecx, dword [esp + 0x10]
sub eax, ecx
cmp eax, 0xffffffff
je 0x41cf78
lea esi, [eax + 9]
mov eax, dword [ecx - 0xc]
cmp esi, eax
jge 0x41cf47
test esi, esi
jl 0x41d21d
cmp esi, eax
jg 0x41d21d
movsx edx, byte [esi + ecx]
push edx
call fcn.0043e1d6
add esp, 4
test eax, eax
je 0x41cf47
push 1
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call fcn.00415790
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 6
call fcn.004158b0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x234], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cf37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
mov ebp, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x41cec7
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41cf78
cmp dword [ebp - 4], 1
jle 0x41cf65
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.0040eea0
mov ebp, dword [esp + 0x14]
push ebp
call fcn.0043df72
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx + 0x254], eax
push 0x3a
push ebx
call fcn.0043d600
mov edi, eax
add esp, 8
test edi, edi
jne 0x41cfc0
push ebx
call fcn.0043bf59
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x234], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41cfb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
jmp 0x41d14a
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
jne 0x41cfd8
mov al, byte [edi + 1]
inc edi
test al, al
je 0x41d190
cmp al, 0x20
je 0x41cfc8
test ebx, ebx
je 0x41d199
push 0xc
call fcn.0043bf47
mov ebp, dword [esp + 0x1c]
mov esi, eax
add esp, 4
add ebp, 0x2dc
push str.SCNS_window_is_about_to_show__URL:
mov ecx, ebp
mov dword [esi], 0
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
call fcn.0040c2e0
push edi
mov ecx, ebp
call fcn.0040c2e0
lea ecx, [esp + 0x94]
call fcn.00413ee0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x254]
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0x238], 7
call fcn.00410f30
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0xa0]
push eax
push 0x461c64
call fcn.0040a780
mov ecx, dword [0x4626f8]
push esi
push 0x40e630
push 0
push 0xec
push ecx
call fcn.0040e790
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
xor edx, edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
add esp, 0x14
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
push edx
push edx
push edx
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x84], edx
call edi
test eax, eax
je 0x41d0ee
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x41d0dd
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x68]
push edx
call edi
test eax, eax
jne 0x41d0b0
push str.SCNS_window_is_closed.
mov ecx, ebp
call fcn.0040c2e0
push ebx
call fcn.0043bf59
push esi
call fcn.0043bf59
add esp, 8
lea ecx, [esp + 0x94]
mov byte [esp + 0x234], 5
call fcn.00411cc0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x234], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d143
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x234], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d169
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x9c]
inc edi
cmp edi, eax
mov dword [esp + 0x38], edi
mov ebp, 0x10
jge 0x41d227
xor ebx, ebx
jmp 0x41cd43
push ebx
call fcn.0043bf59
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x234], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d1bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x234], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d1e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
mov esi, 0x10
cmp eax, esi
jb 0x41d1fb
mov eax, dword [esp + 0x20]
push eax
call fcn.0043c389
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jb 0x41d260
mov ecx, dword [esp + 0x44]
push ecx
jmp 0x41d258
push 0x80070057
call fcn.00401200
cmp dword [esp + 0x34], ebp
jb 0x41d23a
mov edx, dword [esp + 0x20]
push edx
call fcn.0043c389
add esp, 4
xor ebx, ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], 0
cmp dword [esp + 0x58], ebp
jb 0x41d260
mov eax, dword [esp + 0x44]
push eax
call fcn.0043c389
add esp, 4
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x228
ret