Function at 0x4048c3
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53a39c
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x59099c]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x59099c]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], 0xf
call fcn.0040b7b2
mov dword [esp + 0xb8], ebx
mov eax, dword [0x5eebc4]
cmp eax, ebx
jne 0x40492d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x404dd3
xor esi, esi
inc esi
push esi
call dword [0x593344]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x404dcd
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x404dcd
push eax
lea ecx, [esp + 0x74]
call fcn.0040a2a0
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xc0], 1
call fcn.00478350
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xc4], 2
call fcn.0040a999
push ebx
push esi
lea ecx, [esp + 0x24]
call fcn.0040aca3
push ebx
push esi
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], bl
call fcn.0040aca3
push 0x5923b8
lea ecx, [esp + 0x58]
call fcn.0040a387
test eax, eax
je 0x404dc3
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00477a20
pop ecx
pop ecx
push ebx
push esi
lea ecx, [esp + 0x24]
call fcn.0040afb1
cmp byte [0x5eeb98], bl
jne 0x404b61
mov esi, 0x560874
push esi
call fcn.0050b770
pop ecx
push eax
push ebx
push esi
lea ecx, [esp + 0x60]
call fcn.0040ab1b
mov esi, eax
cmp esi, 0xffffffff
je 0x404b61
mov eax, dword [esp + 0x68]
sub eax, esi
cmp eax, 0xc
jb 0x404b61
mov byte [esp + 0x10], 1
lea edi, [esi + 3]
mov dword [esp + 0x14], 8
push edi
lea ecx, [esp + 0x58]
call fcn.0040a333
cmp byte [eax], 0x30
jl 0x404a54
push edi
lea ecx, [esp + 0x58]
call fcn.0040a333
cmp byte [eax], 0x39
jle 0x404a58
mov byte [esp + 0x10], bl
inc edi
dec dword [esp + 0x14]
jne 0x404a36
cmp byte [esp + 0x10], bl
je 0x404b61
push 0xc
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
call fcn.0040a369
push 0xffffffffffffffff
push ebx
mov esi, 0x59247c
push eax
mov ecx, esi
mov byte [esp + 0xc4], 3
call fcn.0040a999
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], bl
call fcn.0040aca3
cmp dword [0x592494], 0x10
mov eax, dword [0x592480]
jae 0x404aba
mov eax, 0x592480
push eax
call fcn.0040102d
lea ecx, [esp + 0x74]
mov dword [esp], 0x560878
call fcn.0040a406
lea eax, [esp + 0x1c]
push esi
push eax
mov byte [esp + 0xc0], 4
call fcn.00477a20
lea ecx, [esp + 0x78]
push ecx
mov esi, eax
mov byte [esp + 0xc4], 5
call fcn.00414de0
add esp, 0xc
push ebx
push edi
lea ecx, [esp + 0x24]
call fcn.0040afb1
push ebx
push edi
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], bl
call fcn.0040afb1
cmp byte [0x5eeba9], bl
jne 0x404b5a
cmp byte [0x5eeb9a], bl
jne 0x404b5a
push 0x560890
lea ecx, [esp + 0x74]
call fcn.0040a406
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0xbc], 6
call fcn.00414d37
pop ecx
push ebx
push edi
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], bl
call fcn.0040afb1
mov byte [0x5eeb98], 1
cmp byte [0x5eeb9a], bl
jne 0x404db1
xor edi, edi
cmp dword [esp + 0x68], ebx
jle 0x404db1
push 1
lea esi, [edi + 1]
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1c], 0xa
call fcn.0040ab1b
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x404ba3
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
push ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], 0xf
call fcn.0040b7b2
push 1
push esi
lea eax, [esp + 0x18]
mov byte [esp + 0xc0], 7
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1c], 0x20
call fcn.0040ab1b
mov esi, eax
cmp esi, 0xffffffff
je 0x404c42
cmp esi, dword [esp + 0x14]
jge 0x404c42
sub eax, edi
push eax
push edi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
call fcn.0040a369
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xc0], 8
call fcn.00478350
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc4], 9
call fcn.0040a999
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.0040aca3
push ebx
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 7
call fcn.0040aca3
lea edi, [esi + 1]
mov eax, dword [esp + 0x14]
sub eax, edi
push eax
push edi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
call fcn.0040a369
push eax
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0xc0], 0xa
call fcn.00478350
pop ecx
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0xc0], 0xc
call fcn.0040aca3
cmp dword [esp + 0xa0], 0x17
jne 0x404e44
push ebx
lea ecx, [esp + 0x90]
call fcn.0040a333
cmp byte [eax], 0x2d
je 0x404e44
push 5
lea ecx, [esp + 0x90]
call fcn.0040a333
cmp byte [eax], 0x2d
jne 0x404e44
mov edi, 0x5922d8
push edi
lea ecx, [esp + 0x74]
call fcn.0040a387
test eax, eax
je 0x404ce1
cmp dword [esp + 0x84], ebx
jne 0x404e03
push edi
lea eax, [esp + 0x90]
mov edi, 0x5923f0
push eax
mov ecx, edi
call fcn.00401a1c
test al, al
pop ecx
pop ecx
je 0x404e08
cmp dword [esp + 0xa4], 0x10
mov eax, dword [esp + 0x90]
jae 0x404d18
lea eax, [esp + 0x90]
push eax
call fcn.0040102d
add esp, 4
push 0xffffffffffffffff
push ebx
push edi
mov ecx, 0x592498
call fcn.0040a999
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x94]
push eax
mov ecx, 0x5924b4
call fcn.0040a999
mov byte [0x5eeb9a], 1
mov byte [0x5eeba8], bl
call fcn.00402df7
push str.RegSucceeded
lea ecx, [esp + 0x20]
call fcn.0040a406
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xbc], 0xd
call fcn.00414d37
pop ecx
push ebx
push esi
lea ecx, [esp + 0x24]
call fcn.0040afb1
cmp byte [0x5eebad], bl
jne 0x404d91
mov byte [0x592274], 1
push ebx
push esi
lea ecx, [esp + 0x94]
call fcn.0040aca3
push ebx
push esi
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], bl
call fcn.0040aca3
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x5c]
push eax
mov ecx, 0x5923b8
call fcn.0040a999
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
push 1
lea ecx, [esp + 0x5c]
call fcn.0040aca3
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0050bc9c
mov esp, ebp
pop ebp
ret
mov edi, 0x5923f0
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x90]
push eax
mov ecx, edi
call fcn.00401a1c
test al, al
pop ecx
pop ecx
je 0x404e44
push 0xffffffffffffffff
mov eax, 0x7ffffffe
push eax
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x80]
push edi
push eax
call fcn.00403659
add esp, 0x18
mov edi, dword [esp + 0x14]
push ebx
push esi
lea ecx, [esp + 0x94]
call fcn.0040aca3
push ebx
push esi
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], bl
call fcn.0040aca3
mov eax, edi
cmp eax, dword [esp + 0x68]
jl 0x404b79
jmp 0x404db1