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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44baf0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45dd50]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
push str.Waiting_signature_window...
call fcn.0041e7d0
add esp, 4
mov edi, eax
push 0xa
mov ecx, edi
call fcn.0041eba0
mov ecx, edi
call fcn.0041ecc0
cmp byte [esi + 0xe], 0
jne 0x41e078
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
push 0x96
call edi
call fcn.0041e680
mov dword [esp + 0x2c], eax
test eax, eax
je 0x41e06e
inc word [esi + 0xc]
push str.found_signature_window
call fcn.0041e7d0
add esp, 4
mov ebx, eax
push 0xa
mov ecx, ebx
call fcn.0041eba0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx + ebx]
xor esi, esi
test byte [eax + 8], 6
jne 0x41dc52
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x41dc52
mov esi, 4
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
add ecx, ebx
test esi, esi
je 0x41dc73
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], 0
jne 0x41dc6b
or eax, 4
push 0
push eax
call fcn.00403fa0
mov esi, dword [esp + 0x2c]
push esi
call fcn.004267a3
mov ebx, eax
call fcn.0041cd80
cmp eax, 3
jne 0x41ddba
push 4
call fcn.0042120c
xor esi, esi
add esp, 4
cmp eax, esi
je 0x41dca5
lea edx, [esp + 0x34]
mov dword [eax], edx
jmp 0x41dca7
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
push str.Button
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], 1
call fcn.00404d30
lea eax, [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 2
call fcn.00420f90
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dd09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41dd83
mov edx, 3
mov eax, edx
mov word [esp + 0x14], dx
mov word [esp + 0x16], ax
jmp 0x41dd30
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x40]
sar ecx, 2
test ecx, ecx
ja 0x41dd44
call fcn.0042f0b7
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov esi, dword [edx]
push eax
push 1
push 0x201
push esi
call ebp
push 0xa
call edi
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0x202
push esi
call ebp
push 0x96
call edi
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41dd30
xor esi, esi
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x41dd9c
push eax
call fcn.0042123b
add esp, 4
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.0042123b
add esp, 4
jmp 0x41e00c
cmp eax, 5
je 0x41deea
cmp eax, 4
je 0x41deea
cmp eax, 6
jne 0x41e00a
lea ecx, [esp + 0x4c]
push ecx
call fcn.00410850
push str.Button
lea ecx, [esp + 0x28]
mov dword [esp + 0x74], 6
call fcn.00404d30
lea edx, [esp + 0x24]
push edx
push ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 7
call fcn.00420f90
mov byte [esp + 0x78], 6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41de31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 8
jne 0x41debd
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41deb9
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0xe], 0
jne 0x41deb9
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
sar eax, 2
cmp eax, 1
ja 0x41de6d
call fcn.0042f0b7
mov ecx, dword [esp + 0x58]
mov esi, dword [ecx + 4]
mov edx, 3
mov eax, edx
mov word [esp + 0x28], dx
mov word [esp + 0x2a], ax
mov ebx, dword [esp + 0x28]
push ebx
push 1
push 0x201
push esi
call ebp
push 0xa
call edi
push ebx
push 0
push 0x202
push esi
call ebp
push 0xc8
call edi
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41de4e
mov eax, dword [esp + 0x58]
xor esi, esi
mov dword [esp + 0x70], 0xffffffff
cmp eax, esi
je 0x41ded4
push eax
call fcn.0042123b
add esp, 4
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
push edx
jmp 0x41e002
push 4
call fcn.0042120c
xor esi, esi
add esp, 4
cmp eax, esi
je 0x41df02
lea ecx, [esp + 0x34]
mov dword [eax], ecx
jmp 0x41df04
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
push str.Button
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 4
call fcn.00404d30
lea edx, [esp + 0x30]
push edx
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 5
call fcn.00420f90
mov byte [esp + 0x78], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41df66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41dfd8
mov edx, 3
mov eax, edx
mov word [esp + 0x18], dx
mov word [esp + 0x1a], ax
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x40]
sar ecx, 2
test ecx, ecx
ja 0x41df99
call fcn.0042f0b7
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov esi, dword [edx]
push eax
push 1
push 0x201
push esi
call ebp
push 0xa
call edi
mov ecx, dword [esp + 0x18]
push ecx
push 0
push 0x202
push esi
call ebp
push 0x96
call edi
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41df85
xor esi, esi
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x41dff1
push eax
call fcn.0042123b
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
push eax
call fcn.0042123b
add esp, 4
xor esi, esi
push str.Close_signature_window
call fcn.0041e7d0
add esp, 4
mov ebx, eax
push 0xa
mov ecx, ebx
call fcn.0041eba0
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
test byte [edx + ebx + 8], 6
lea eax, [edx + ebx]
jne 0x41e049
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x41e049
mov esi, 4
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
add ecx, ebx
test esi, esi
je 0x41e06a
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], 0
jne 0x41e062
or eax, 4
push 0
push eax
call fcn.00403fa0
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0xe], 0
je 0x41dbf8
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret