Function at 0x4024a0
Capabilities:
Get process heap flags
Get process heap force flags
Open clipboard
Write clipboard data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ef17
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x430068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004033e0
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x180]
xorps xmm0, xmm0
mov dword [ebp - 0x170], 0
push str._b_bc1_0_9a_zA_Z_39__b
movups xmmword [ebp - 0x180], xmm0
call fcn.00403260
mov byte [ebp - 4], 1
lea edx, [ebp - 0x180]
push dword [0x431a5c]
lea ecx, [ebp - 0x2c]
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0x15c], 0
push str._b_0x_0_9a_zA_Z_40__b
lea ecx, [ebp - 0x16c]
movups xmmword [ebp - 0x16c], xmm0
call fcn.00403260
mov byte [ebp - 4], 2
lea edx, [ebp - 0x16c]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x18
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0x148], 0
push str._b_bnb1_0_9a_zA_Z_38__b
lea ecx, [ebp - 0x158]
movups xmmword [ebp - 0x158], xmm0
call fcn.00403260
mov byte [ebp - 4], 3
lea edx, [ebp - 0x158]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x30
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0x134], 0
push str._b_T_0_9a_zA_Z_33__b
lea ecx, [ebp - 0x144]
movups xmmword [ebp - 0x144], xmm0
call fcn.00403260
mov byte [ebp - 4], 4
lea edx, [ebp - 0x144]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x48
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0x120], 0
push str._b__EU__0_9a_zA_Z___47__b
lea ecx, [ebp - 0x130]
movups xmmword [ebp - 0x130], xmm0
call fcn.00403260
mov byte [ebp - 4], 5
lea edx, [ebp - 0x130]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x60
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0x10c], 0
push str._b_ltc1_0_9a_zA_Z_39__b
lea ecx, [ebp - 0x11c]
movups xmmword [ebp - 0x11c], xmm0
call fcn.00403260
mov byte [ebp - 4], 6
lea edx, [ebp - 0x11c]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x78
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0xf8], 0
push str._b__M__0_9a_zA_Z_33__b
lea ecx, [ebp - 0x108]
movups xmmword [ebp - 0x108], xmm0
call fcn.00403260
mov byte [ebp - 4], 7
lea edx, [ebp - 0x108]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x90
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0xe4], 0
push str._b__L__0_9a_zA_Z_33__b
lea ecx, [ebp - 0xf4]
movups xmmword [ebp - 0xf4], xmm0
call fcn.00403260
mov byte [ebp - 4], 8
lea edx, [ebp - 0xf4]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x90
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
push str._b_r_0_9a_zA_Z_33__b
lea ecx, [ebp - 0xe0]
movups xmmword [ebp - 0xe0], xmm0
call fcn.00403260
mov byte [ebp - 4], 9
lea edx, [ebp - 0xe0]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0xa8
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0xbc], 0
push str._b_1_0_9a_zA_Z_33__b
lea ecx, [ebp - 0xcc]
movups xmmword [ebp - 0xcc], xmm0
call fcn.00403260
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xcc]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0xc0
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
push str._b_3_0_9a_zA_Z_33__b
lea ecx, [ebp - 0xb8]
movups xmmword [ebp - 0xb8], xmm0
call fcn.00403260
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0xb8]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0xd8
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
movups xmmword [ebp - 0xa4], xmm0
push str._b_D_0_9a_zA_Z_33__b
lea ecx, [ebp - 0xa4]
call fcn.00403260
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xa4]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0xf0
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
push str._b_X_0_9a_zA_Z_33__b
lea ecx, [ebp - 0x90]
movups xmmword [ebp - 0x90], xmm0
call fcn.00403260
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x90]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x108
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push str._b_4_0_9a_zA_Z_94__b
lea ecx, [ebp - 0x7c]
movups xmmword [ebp - 0x7c], xmm0
call fcn.00403260
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x7c]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x120
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str._b_addr1_0_9a_zA_Z_98__b
lea ecx, [ebp - 0x68]
movups xmmword [ebp - 0x68], xmm0
call fcn.00403260
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x68]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x138
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push str._b_1_0_9a_zA_Z_46_47__b
lea ecx, [ebp - 0x54]
movups xmmword [ebp - 0x54], xmm0
call fcn.00403260
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x54]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x150
push eax
call fcn.00402380
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str._b_bc1_0_9a_zA_Z_59__b
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
call fcn.00403260
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x40]
mov eax, dword [0x431a5c]
lea ecx, [ebp - 0x2c]
add eax, 0x168
push eax
call fcn.00402380
add esp, 4
cmp dword [ebp - 0x18], 8
lea edi, [ebp - 0x2c]
push 0
cmovae edi, dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x402995
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402926
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40298f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov eax, edi
lea ecx, [eax + 2]
mov dword [ebp - 0x184], ecx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402960
sub eax, dword [ebp - 0x184]
sar eax, 1
push edi
inc eax
push eax
push edx
call fcn.00410ae9
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x40]
or esi, 0xffffffff
test ecx, ecx
je 0x4029b2
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x4029b2
mov ecx, dword [ebp - 0x40]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4029d7
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4029d7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4029f1
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x4029f1
mov ecx, dword [ebp - 0x54]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x402a16
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402a16
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x402a30
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402a30
mov ecx, dword [ebp - 0x68]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x402a55
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402a55
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x402a6f
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402a6f
mov ecx, dword [ebp - 0x7c]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x402a94
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402a94
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x402ab4
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402ab4
mov ecx, dword [ebp - 0x90]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x402adc
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402adc
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x402afc
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402afc
mov ecx, dword [ebp - 0xa4]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x402b27
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402b27
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x402b47
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402b47
mov ecx, dword [ebp - 0xb8]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0xb8], 0
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x402b72
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402b72
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
je 0x402b92
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402b92
mov ecx, dword [ebp - 0xcc]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0xcc], 0
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x402bbd
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402bbd
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x402bdd
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402bdd
mov ecx, dword [ebp - 0xe0]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0xe0], 0
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0xd0]
test ecx, ecx
je 0x402c08
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402c08
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0xf4]
test ecx, ecx
je 0x402c28
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402c28
mov ecx, dword [ebp - 0xf4]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0xf4], 0
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0xe4]
test ecx, ecx
je 0x402c53
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402c53
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x108]
test ecx, ecx
je 0x402c73
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402c73
mov ecx, dword [ebp - 0x108]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x108], 0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
je 0x402c9e
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402c9e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x402cbe
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402cbe
mov ecx, dword [ebp - 0x11c]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x11c], 0
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x10c]
test ecx, ecx
je 0x402ce9
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402ce9
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x130]
test ecx, ecx
je 0x402d09
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402d09
mov ecx, dword [ebp - 0x130]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x130], 0
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x120]
test ecx, ecx
je 0x402d34
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402d34
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x144]
test ecx, ecx
je 0x402d54
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402d54
mov ecx, dword [ebp - 0x144]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x144], 0
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x402d7f
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402d7f
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x158]
test ecx, ecx
je 0x402d9f
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402d9f
mov ecx, dword [ebp - 0x158]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x158], 0
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x402dca
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402dca
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x16c]
test ecx, ecx
je 0x402dea
mov eax, esi
lock xadd dword [ecx + 0x20], eax
jne 0x402dea
mov ecx, dword [ebp - 0x16c]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x15c]
test ecx, ecx
je 0x402e15
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402e15
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp - 0x180]
test eax, eax
je 0x402e34
lock xadd dword [eax + 0x20], esi
dec esi
jne 0x402e34
mov ecx, dword [ebp - 0x180]
xor edx, edx
call fcn.00401c30
mov dword [ebp - 0x180], 0
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x170]
test ecx, ecx
je 0x402e5f
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x402e5f
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x402e95
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402eb3
push edx
push ecx
call fcn.0040c442
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040c069
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00410d5d
int3