Function at 0x459f4c
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov ecx, dword [esi + 0x260]
mov eax, dword [esi + 0x2b4]
inc ecx
test eax, eax
mov dword [esi + 0x260], ecx
je 0x459fc8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [esi + 0x2b4]
je 0x459fc8
mov eax, dword [esi + 0x464]
mov edi, dword [ebp + 8]
test eax, eax
je 0x459faa
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x459faa
mov eax, dword [esi + 0x464]
push 0
push edi
push 0x83e7
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x49c]
test eax, eax
jne 0x45a362
push edi
call dword [0x4e533c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
mov dword [esi + 0x49c], 1
call fcn.004581dc
mov ecx, esi
call fcn.0042c2fa
mov edx, dword [esi + 0x134]
lea ecx, [esi + 0x134]
call dword [edx + 8]
mov eax, dword [esi + 0x490]
test eax, eax
je 0x45a02b
mov al, byte [0x4f7b20]
test al, 1
jne 0x45a014
or al, 1
mov byte [0x4f7b20], al
mov eax, dword [esi + 0x490]
mov dword [0x4f7b1c], eax
pushal
call dword [0x4f7b1c]
popal
mov ecx, dword [ebp - 4]
mov esi, ecx
mov dword [ecx + 0x490], 0
mov ebx, dword [esi + 0x160]
xor edi, edi
shr ebx, 2
test ebx, ebx
jle 0x45a05d
mov edx, dword [esi + 0x158]
mov eax, dword [edx + edi*4]
test eax, eax
je 0x45a058
mov ecx, dword [esi + 0x16c]
push 0
mov edx, dword [ecx + edi*4]
push edx
push 6
call dword [eax + 0x78]
inc edi
cmp edi, ebx
jl 0x45a03a
mov eax, dword [esi + 0x19c]
test eax, eax
jne 0x45a06b
xor edi, edi
jmp 0x45a071
mov edi, dword [esi + 0x194]
test ebx, ebx
jle 0x45a08d
mov eax, dword [edi]
test eax, eax
je 0x45a087
cmp eax, dword [esi + 0x68]
je 0x45a087
push eax
call dword [0x4e5344]
add edi, 4
dec ebx
jne 0x45a075
lea ecx, [esi + 0x18c]
call fcn.0042cbfc
lea ecx, [esi + 0x178]
call fcn.0042cbfc
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1a0]
call fcn.004af987
lea ecx, [esi + 0x164]
call fcn.0042cbfc
lea ecx, [esi + 0x150]
call fcn.0042cbfc
mov edi, dword [esi + 0x1ec]
shr edi, 2
test edi, edi
jle 0x45a120
xor ebx, ebx
test edi, edi
jle 0x45a0f4
mov eax, dword [esi + 0x1e4]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x45a0ef
push eax
call dword [0x4e5344]
inc ebx
cmp ebx, edi
jl 0x45a0db
lea ecx, [esi + 0x1dc]
call fcn.0042cbfc
lea ecx, [esi + 0x1f0]
call fcn.0042cbfc
lea ecx, [esi + 0x1b4]
call fcn.0042cbfc
lea ecx, [esi + 0x1c8]
call fcn.0042cbfc
mov ebx, dword [esi + 0x23c]
shr ebx, 2
test ebx, ebx
jle 0x45a162
xor edi, edi
test ebx, ebx
jle 0x45a148
mov ecx, dword [esi + 0x234]
mov edx, dword [ecx + edi*4]
push edx
call dword [0x4e5344]
inc edi
cmp edi, ebx
jl 0x45a133
lea ecx, [esi + 0x22c]
call fcn.0042cbfc
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x240]
call fcn.004af987
mov ecx, esi
call fcn.0045886c
lea ecx, [esi + 0x25c]
call fcn.004b3b51
lea ecx, [esi + 0x204]
call fcn.0042cbfc
lea ecx, [esi + 0x218]
call fcn.0042cbfc
mov ebx, dword [esi + 0x108]
xor edi, edi
shr ebx, 2
test ebx, ebx
jle 0x45a1b0
mov eax, dword [esi + 0x100]
mov ecx, dword [eax + edi*4]
push ecx
call fcn.004b04b2
add esp, 4
inc edi
cmp edi, ebx
jl 0x45a199
lea ecx, [esi + 0xf8]
call fcn.0042cbfc
mov eax, dword [esi + 0x494]
xor ebx, ebx
cmp eax, ebx
je 0x45a1d4
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0x494], ebx
mov eax, dword [esi + 0x498]
cmp eax, ebx
je 0x45a1eb
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0x498], ebx
mov eax, dword [esi + 0x464]
cmp eax, ebx
je 0x45a21f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45a21f
push ebx
call fcn.004b097a
test eax, eax
je 0x45a219
mov edx, dword [esi + 0x448]
lea ecx, [esi + 0x448]
call dword [edx + 0x58]
mov dword [esi + 0x464], ebx
mov ecx, esi
call fcn.00456fdc
mov eax, dword [esi + 0x430]
xor edi, edi
cmp eax, ebx
mov dword [ebp + 8], eax
jle 0x45a250
mov ecx, dword [esi + 0x42c]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x45a24b
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
jl 0x45a235
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x428]
call fcn.004af6fc
push 1
mov ecx, esi
call fcn.0045d17c
cmp dword [esi + 0x2f0], ebx
jne 0x45a273
xor ecx, ecx
jmp 0x45a279
mov ecx, dword [esi + 0x2e8]
mov eax, dword [esi + 0x2f0]
shr eax, 2
cmp eax, ebx
jle 0x45a2dc
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ecx]
cmp edi, ebx
je 0x45a2ca
mov eax, dword [edi + 0xc]
mov dword [edi], ebx
cmp eax, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x14], ebx
je 0x45a2ae
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [edi + 0xc], ebx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x45a2c1
push eax
call fcn.004b04b2
add esp, 4
mov dword [edi + 0x10], ebx
push edi
call fcn.004b04b2
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
add ecx, 4
dec eax
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
jne 0x45a28c
lea ecx, [esi + 0x2e0]
call fcn.0042cbfc
cmp dword [esi + 0x424], 1
jne 0x45a2fc
call dword [0x4e53a0]
mov dword [esi + 0x424], ebx
mov ebx, dword [esi + 0x128]
xor edi, edi
test ebx, ebx
jle 0x45a32a
mov eax, dword [esi + 0x124]
mov edx, dword [esi + 0x110]
push 0
mov ecx, dword [eax + edi*4]
mov eax, dword [edx + edi*4]
push ecx
push eax
mov ecx, esi
call fcn.0045904c
inc edi
cmp edi, ebx
jl 0x45a308
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x10c]
call fcn.004af987
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x120]
call fcn.004af987
mov eax, dword [esi + 0x484]
test eax, eax
je 0x45a362
call dword [sym.imp.ole32.dll_OleUninitialize]
mov dword [esi + 0x484], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4