Function at 0x436c2d
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0x2dc], edi
jne 0x436f19
mov ecx, dword [esi + 0x208]
cmp dword [ecx + 0xe0e], edi
je 0x436c5d
push 0x50
call fcn.0046123b
mov ecx, esi
call fcn.0043a7e3
mov ecx, esi
mov dword [ebp - 0x20], eax
call fcn.0043c2bf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.0043a6f9
cmp dword [esi + 0x198], edi
je 0x436c97
lea eax, [ebp - 8]
mov ecx, esi
push eax
lea eax, [ebp - 4]
push eax
call fcn.0043d29c
push ebx
mov ebx, dword [esi + 0xbc]
add ebx, dword [ebp - 4]
push dword [esi + 0x1c]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp dword [esi + 0x1a8], edi
mov dword [ebp - 0x14], eax
je 0x436cbc
push 0xd
jmp 0x436cbe
push 1
call fcn.00427f72
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
je 0x436cd9
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esi + 0xc8]
cmp eax, 0xffffffff
jne 0x436d2a
mov ecx, dword [esi + 0x120]
mov edx, dword [esi + 0xf0]
add ecx, dword [ebp - 0x10]
shl edx, 1
cmp ecx, edx
jg 0x436d2a
cmp dword [esi + 0x198], edi
jne 0x436d2a
cmp dword [esi + 0x1ec], edi
jne 0x436d2a
push edi
push edi
push edi
push edi
push 5
push ebx
mov ecx, esi
call fcn.004763f3
mov ecx, esi
call fcn.004b25c3
mov ecx, esi
call fcn.0043d46e
jmp 0x436e68
cmp eax, 0xffffffff
mov dword [ebp - 0x14], edi
jne 0x436d57
cmp dword [esi + 0x198], edi
jne 0x436d57
cmp dword [esi + 0x1ec], edi
jne 0x436d57
push edi
push edi
push edi
push edi
push 5
push ebx
mov ecx, esi
call fcn.004763f3
mov dword [ebp - 0x14], 1
lea eax, [ebp - 8]
mov ecx, esi
push eax
lea eax, [ebp - 4]
push eax
call fcn.0043d29c
cmp dword [esi + 0x1a8], edi
je 0x436d7e
mov eax, dword [ebp - 4]
add eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xbc]
mov ecx, dword [ebp - 4]
lea ebx, [eax + ecx]
mov ecx, dword [esi + 0xc8]
cmp ecx, 0xffffffff
mov dword [ebp - 0x1c], ebx
jne 0x436da2
mov ecx, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x436da5
mov dword [ebp - 0x10], ecx
mov ecx, esi
call fcn.004347a4
cmp dword [esi + 0x1ec], edi
je 0x436dde
mov ecx, esi
call fcn.0043d368
push edi
push edi
push edi
push edi
push edi
push 1
push edi
push edi
push dword [esi + 0x1f4]
mov ecx, dword [esi + 0x3c]
push dword [esi + 0x1f0]
push dword [ebp - 0x10]
push ebx
call fcn.0042b1af
jmp 0x436e11
push 1
mov ecx, esi
pop eax
push edi
push eax
push eax
push edi
push edi
mov dword [esi + 0x1a0], eax
push dword [ebp - 0x10]
push ebx
call fcn.0043abe2
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x436e01
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], edi
jne 0x436e11
mov ecx, dword [esi + 0x3c]
push 0xffffffffffffffff
push edi
call fcn.00477237
push ebx
mov ecx, esi
call fcn.004349d7
push 1
push ebx
push ebx
mov ecx, esi
call fcn.0043bcd5
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [esi + 0x1c]
call fcn.0042412e
cmp ebx, dword [ebp - 0x18]
jle 0x436e4a
push dword [ebp - 4]
mov ecx, esi
push dword [ebp - 0x18]
push 1
call fcn.0043d5e9
jmp 0x436e5e
mov eax, dword [esi + 0x16c]
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
push eax
push ebx
call fcn.0043bc63
mov ecx, esi
call fcn.0043ddc3
mov ebx, dword [ebp - 0xc]
mov eax, dword [esi + 0x200]
mov ecx, dword [esi + 0x208]
cmp dword [ecx + eax*4 + 0xe5a], 2
jne 0x436ed1
cmp dword [esi + 0x1e8], edi
je 0x436ed1
cmp dword [esi + 0x198], edi
jne 0x436ed1
cmp dword [0x4eb27c], edi
je 0x436ed1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [esi + 0x1c]
call fcn.0042412e
cmp dword [esi + 0x1a8], edi
je 0x436ebe
mov eax, dword [ebp - 4]
add eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xbc]
mov ecx, esi
add eax, dword [ebp - 8]
push eax
push ebx
push edi
call fcn.0044593a
mov ecx, esi
call fcn.0043a7e3
mov ebx, eax
sub ebx, dword [ebp - 0x20]
je 0x436efc
push ebx
mov ecx, esi
push dword [ebp - 0xc]
call fcn.00439944
push edi
push ebx
push dword [ebp - 0xc]
mov ecx, dword [esi + 0x3c]
push ebx
push dword [ebp - 0xc]
push esi
call fcn.0042a9b5
push dword [esi + 0x1c]
call fcn.00424e89
mov ecx, esi
mov dword [esi + 0x11c], eax
call fcn.00432390
mov ecx, esi
call fcn.0045442a
pop ebx
pop edi
pop esi
leave
ret