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

Disassembly:
push 0xffffffffffffffff
push 0x4de37b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51f4f4]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x238]
mov eax, dword [esp + 0x234]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, ecx
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x10c]
push ecx
push ebp
push 0x417
push edx
mov dword [esp + 0x28], eax
call edi
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x24]
push eax
push ebp
push 0x41d
push ecx
call edi
test eax, eax
je 0x488bc9
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x24]
mov ecx, esi
call fcn.00471f20
mov edx, dword [eax + 0x140]
mov ebx, dword [esp + 0x30]
sub ebx, dword [esp + 0x28]
add edx, edx
mov ecx, esi
sub edi, edx
call fcn.00471f20
mov eax, dword [eax + 0x144]
push 0x6c
lea ecx, [esp + 0xa4]
add eax, eax
push 0
push ecx
sub ebx, eax
call fcn.00446dc0
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
jne 0x488439
mov dword [esp + 0xb0], eax
jmp 0x488443
mov edx, dword [eax + 4]
mov dword [esp + 0xb0], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ebx
push edi
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x38]
push 0
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x124]
push 0
lea eax, [esp + 0x104]
push eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe0], edx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x447
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [esp + 0x114]
xor edx, edx
cmp eax, ebp
setne dl
mov eax, ecx
shr eax, 1
and eax, 1
dec edx
and edx, 0x40
or edx, eax
mov eax, ecx
and eax, 1
add eax, eax
add eax, eax
not ecx
add eax, eax
and ecx, 4
or edx, eax
or edx, ecx
lea ecx, [esp + 0xa0]
push ecx
push 0x10001
mov ecx, esi
mov dword [esp + 0xd0], edx
call fcn.00487c10
mov edx, eax
mov eax, dword [esp + 0xc8]
mov ecx, eax
and ecx, 1
mov ebx, eax
mov dword [esp + 0x38], ecx
mov ecx, eax
shr eax, 2
not eax
and ecx, 8
and eax, 1
and ebx, 0x40
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], eax
test dl, 4
jne 0x488bae
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x24]
mov ecx, esi
call fcn.00471f20
mov edx, dword [eax + 0x140]
mov ebp, dword [esp + 0xfc]
mov eax, dword [esp + 0x100]
sub ebp, dword [esp + 0xf4]
sub eax, dword [esp + 0xf8]
add edx, edx
mov ecx, esi
sub edi, edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x54], eax
call fcn.00471f20
mov eax, dword [eax + 0x140]
add eax, dword [esp + 0x24]
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00471f20
mov eax, dword [eax + 0x144]
add eax, dword [esp + 0x28]
mov ecx, esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10c]
push eax
call fcn.00487e50
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4885c2
push 0x48
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x14], eax
jmp 0x4885ca
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x10c]
push ecx
mov ecx, esi
call fcn.00487e90
test eax, eax
je 0x4885f6
mov eax, dword [esp + 0x14]
sub edi, 5
cmp dword [esp + 0x4c], 0
jne 0x4885f0
mov eax, 5
sub ebp, eax
mov dword [esp + 0x40], ebp
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x456
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
movzx eax, ax
shr ebp, 0x10
mov ecx, esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x68], eax
call fcn.00471f20
mov ecx, dword [eax + 0x144]
add ecx, ecx
mov eax, ebp
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x44], eax
jns 0x48863f
mov dword [esp + 0x44], 0
push 0
push 0
mov ecx, esi
call fcn.00487e00
mov ecx, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], ecx
test eax, eax
je 0x48866c
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov eax, edi
sub eax, dword [esp + 0x34]
mov ecx, esi
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
call fcn.0041d3a7
test eax, 0x1000
je 0x48868d
mov eax, dword [esp + 0x68]
jmp 0x4886ad
cmp dword [esp + 0x4c], 0
je 0x4886b4
mov ecx, esi
call fcn.00471f20
mov eax, dword [eax + 0x140]
add eax, eax
sub eax, dword [esp + 0x34]
sub eax, dword [esp + 0x14]
add eax, edi
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
mov edi, dword [esp + 0x38]
test edi, edi
jne 0x4886c2
cmp dword [esp + 0x3c], edi
je 0x4886d1
test dword [esp + 0x48], 0x40000
jne 0x4886d1
inc ebp
inc dword [esp + 0x44]
mov ecx, esi
call fcn.00473030
test dword [esp + 0x48], 0x10000
mov ecx, eax
mov dword [esp + 0x60], ecx
jne 0x48884b
cmp dword [esp + 0x4c], 0
je 0x48880a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
sub eax, dword [esp + 0x14]
cmp dword [esp + 0x50], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
jne 0x488750
mov eax, 4
jmp 0x488774
cmp dword [esp + 0x38], 0
je 0x48875e
mov eax, 3
jmp 0x488774
cmp dword [esp + 0x3c], 0
je 0x48876c
mov eax, 5
jmp 0x488774
xor eax, eax
test ebx, ebx
setne al
inc eax
mov edi, dword [esp + 0x60]
lea edx, [esp + 0x70]
push edx
push eax
mov eax, dword [esp + 0x20]
push 3
push eax
mov ecx, edi
call fcn.00474300
cmp dword [esp + 0x50], 0
jne 0x4887ae
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x80]
push ecx
mov eax, 4
push eax
push eax
push edx
mov ecx, edi
jmp 0x488846
cmp dword [esp + 0x38], 0
je 0x4887ce
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x80]
push ecx
mov eax, 3
push eax
push 4
push edx
mov ecx, edi
jmp 0x488846
cmp dword [esp + 0x3c], 0
je 0x4887ee
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x80]
push ecx
mov eax, 5
push eax
push 4
push edx
mov ecx, edi
jmp 0x488846
mov edx, dword [esp + 0x18]
xor eax, eax
test ebx, ebx
setne al
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
inc eax
push eax
push 4
push edx
jmp 0x488846
cmp dword [esp + 0x50], 0
jne 0x488818
mov eax, 4
jmp 0x488839
test edi, edi
je 0x488823
mov eax, 3
jmp 0x488839
cmp dword [esp + 0x3c], 0
je 0x488831
mov eax, 5
jmp 0x488839
xor eax, eax
test ebx, ebx
setne al
inc eax
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x20]
push 1
push eax
call fcn.00474300
lea ecx, [esp + 0x10c]
push ecx
mov ecx, esi
call fcn.00487b20
mov ebx, eax
mov dword [esp + 0x60], ebx
test ebx, ebx
je 0x4888e2
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ecx, esi
call fcn.0041d3a7
test eax, 0x1000
je 0x4888c0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
sub edx, dword [esp + 0x28]
add eax, ecx
cmp eax, edx
jl 0x48889d
mov ecx, esi
call fcn.00471f20
sub ebx, dword [eax + 0x144]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
sub edx, dword [esp + 0x24]
add eax, ecx
cmp eax, edx
jl 0x4888c0
mov ecx, esi
call fcn.00471f20
sub edi, dword [eax + 0x140]
mov edx, dword [esp + 0x238]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
push edx
add ebx, eax
push ebx
add edi, ebp
push edi
push ecx
mov ecx, esi
call fcn.00487ed0
mov ebx, dword [esp + 0x60]
call fcn.004145cd
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4888fc
push 0x80004005
call fcn.00409eb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x100
or eax, ecx
mov dword [esp + 0x22c], 0
jge 0x48893d
push 0x100
lea ecx, [esp + 0x18]
call fcn.00409db0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x110]
mov edx, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push ecx
push 0x44b
push edx
call ebp
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00445700
add esp, 8
test eax, eax
jl 0x488bf3
cmp eax, dword [edi - 8]
jg 0x488bf3
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [edi - 0xc], ecx
jne 0x4889cb
mov edx, dword [esi + 0x20]
push 3
push ecx
push 0x55
push edx
call ebp
cmp eax, 1
jne 0x4889cb
mov ecx, dword [esp + 0x110]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x120]
push eax
push ecx
push 0x42d
push edx
mov byte [esp + 0x130], 0
call ebp
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x18]
call fcn.0042d0f4
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x488b0c
cmp dword [esp + 0x38], 0
jne 0x4889e4
cmp dword [esp + 0x3c], 0
je 0x488a04
test dword [esp + 0x48], 0x40000
jne 0x488a04
inc dword [esp + 0x20]
mov ecx, esi
call fcn.0041d3a7
test eax, 0x1000
je 0x488a04
inc dword [esp + 0x1c]
mov ecx, esi
call fcn.0041d3a7
test eax, 0x1000
je 0x488a38
mov ecx, esi
call fcn.00471f20
mov eax, dword [eax + 0x140]
add eax, eax
test ebx, ebx
je 0x488a4d
mov ecx, dword [esp + 0x34]
lea edx, [eax + ecx]
add dword [esp + 0x20], edx
add eax, ecx
sub dword [esp + 0x40], eax
jmp 0x488a4d
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
lea edx, [eax + ecx]
add dword [esp + 0x1c], edx
add eax, ecx
sub dword [esp + 0x54], eax
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x43d
push eax
call ebp
xor ebx, ebx
cmp eax, 1
setle bl
mov ecx, esi
dec ebx
and ebx, 0x1ff0
add ebx, 0x8020
call fcn.0041d3a7
test eax, 0x1000
je 0x488a84
or ebx, 0x24
jmp 0x488a87
or ebx, 1
mov ebp, dword [esp + 0x18]
push 1
mov ecx, ebp
call fcn.0041e96e
cmp dword [esp + 0x50], 0
mov ecx, esi
je 0x488aa1
push 0x12
jmp 0x488aa3
push 0x10
call fcn.00471f30
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x30]
mov ecx, ebp
call eax
cmp dword [esp + 0x40], 0
jle 0x488b0c
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov dword [esp + 0x90], edx
lea edx, [eax + 1]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x40]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x54]
lea eax, [eax + edx + 1]
mov edx, dword [ebp]
mov edx, dword [edx + 0x68]
mov dword [esp + 0x98], ecx
push ebx
lea ecx, [esp + 0x94]
push ecx
mov dword [esp + 0xa4], eax
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, ebp
call edx
cmp dword [esp + 0x4c], 0
jne 0x488b87
lea eax, [esp + 0x10c]
push eax
mov ecx, esi
call fcn.00487e90
test eax, eax
je 0x488b87
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
add ebx, 0xfffffffa
cmp dword [esp + 0x38], 0
je 0x488b46
inc ebx
inc eax
lea ecx, [eax + 1]
lea ebp, [eax - 1]
mov dword [esp + 0x5c], ecx
lea edx, [ebx + 2]
lea eax, [ebx - 2]
push 0x12
mov ecx, esi
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], eax
call fcn.00471f30
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x20]
push ebx
push ebp
push edx
push ebp
push eax
push ecx
call fcn.004a5c50
add esp, 0x20
add edi, 0xfffffff0
mov dword [esp + 0x22c], 0xffffffff
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x488bae
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
test byte [esp + 0x48], 0x10
je 0x488bc9
lea ecx, [esp + 0xa0]
push ecx
push 0x10002
mov ecx, esi
call fcn.00487c10
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004451b5
add esp, 0x21c
ret 8
push 0x80070057
call fcn.00409eb0
int3