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

Disassembly:
push 0xffffffffffffffff
push 0x57d62b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5e68f0]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
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 0x54df59
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x24]
mov ecx, esi
call fcn.0052f780
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.0052f780
mov eax, dword [eax + 0x144]
push 0x6c
lea ecx, [esp + 0xa4]
add eax, eax
push 0
push ecx
sub ebx, eax
call fcn.0050fd50
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
jne 0x54d7c9
mov dword [esp + 0xb0], eax
jmp 0x54d7d3
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.0054cc00
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 0x54df3e
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x24]
mov ecx, esi
call fcn.0052f780
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.0052f780
mov eax, dword [eax + 0x140]
add eax, dword [esp + 0x24]
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0052f780
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.0054ce40
mov dword [esp + 0x4c], eax
test eax, eax
je 0x54d952
push 0x48
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x14], eax
jmp 0x54d95a
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x10c]
push ecx
mov ecx, esi
call fcn.0054ce80
test eax, eax
je 0x54d986
mov eax, dword [esp + 0x14]
sub edi, 5
cmp dword [esp + 0x4c], 0
jne 0x54d980
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.0052f780
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 0x54d9cf
mov dword [esp + 0x44], 0
push 0
push 0
mov ecx, esi
call fcn.0054cdf0
mov ecx, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], ecx
test eax, eax
je 0x54d9fc
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.00414fc6
test eax, 0x1000
je 0x54da1d
mov eax, dword [esp + 0x68]
jmp 0x54da3d
cmp dword [esp + 0x4c], 0
je 0x54da44
mov ecx, esi
call fcn.0052f780
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 0x54da52
cmp dword [esp + 0x3c], edi
je 0x54da61
test dword [esp + 0x48], 0x40000
jne 0x54da61
inc ebp
inc dword [esp + 0x44]
mov ecx, esi
call fcn.00530540
test dword [esp + 0x48], 0x10000
mov ecx, eax
mov dword [esp + 0x60], ecx
jne 0x54dbdb
cmp dword [esp + 0x4c], 0
je 0x54db9a
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 0x54dae0
mov eax, 4
jmp 0x54db04
cmp dword [esp + 0x38], 0
je 0x54daee
mov eax, 3
jmp 0x54db04
cmp dword [esp + 0x3c], 0
je 0x54dafc
mov eax, 5
jmp 0x54db04
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.0052b0c0
cmp dword [esp + 0x50], 0
jne 0x54db3e
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x80]
push ecx
mov eax, 4
push eax
push eax
push edx
mov ecx, edi
jmp 0x54dbd6
cmp dword [esp + 0x38], 0
je 0x54db5e
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x80]
push ecx
mov eax, 3
push eax
push 4
push edx
mov ecx, edi
jmp 0x54dbd6
cmp dword [esp + 0x3c], 0
je 0x54db7e
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x80]
push ecx
mov eax, 5
push eax
push 4
push edx
mov ecx, edi
jmp 0x54dbd6
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 0x54dbd6
cmp dword [esp + 0x50], 0
jne 0x54dba8
mov eax, 4
jmp 0x54dbc9
test edi, edi
je 0x54dbb3
mov eax, 3
jmp 0x54dbc9
cmp dword [esp + 0x3c], 0
je 0x54dbc1
mov eax, 5
jmp 0x54dbc9
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.0052b0c0
lea ecx, [esp + 0x10c]
push ecx
mov ecx, esi
call fcn.0054cb30
mov ebx, eax
mov dword [esp + 0x60], ebx
test ebx, ebx
je 0x54dc72
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ecx, esi
call fcn.00414fc6
test eax, 0x1000
je 0x54dc50
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 0x54dc2d
mov ecx, esi
call fcn.0052f780
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 0x54dc50
mov ecx, esi
call fcn.0052f780
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.0054d260
mov ebx, dword [esp + 0x60]
call fcn.00418ab3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x54dc8c
push 0x80004005
call fcn.00401920
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 0x54dccd
push pe_nt_image_headers32
lea ecx, [esp + 0x18]
call fcn.004018a0
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.0050ddbd
add esp, 8
test eax, eax
jl 0x54df83
cmp eax, dword [edi - 8]
jg 0x54df83
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [edi - 0xc], ecx
jne 0x54dd5b
mov edx, dword [esi + 0x20]
push 3
push ecx
push 0x55
push edx
call ebp
cmp eax, 1
jne 0x54dd5b
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.0041c104
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x54de9c
cmp dword [esp + 0x38], 0
jne 0x54dd74
cmp dword [esp + 0x3c], 0
je 0x54dd94
test dword [esp + 0x48], 0x40000
jne 0x54dd94
inc dword [esp + 0x20]
mov ecx, esi
call fcn.00414fc6
test eax, 0x1000
je 0x54dd94
inc dword [esp + 0x1c]
mov ecx, esi
call fcn.00414fc6
test eax, 0x1000
je 0x54ddc8
mov ecx, esi
call fcn.0052f780
mov eax, dword [eax + 0x140]
add eax, eax
test ebx, ebx
je 0x54dddd
mov ecx, dword [esp + 0x34]
lea edx, [eax + ecx]
add dword [esp + 0x20], edx
add eax, ecx
sub dword [esp + 0x40], eax
jmp 0x54dddd
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.00414fc6
test eax, 0x1000
je 0x54de14
or ebx, 0x24
jmp 0x54de17
or ebx, 1
mov ebp, dword [esp + 0x18]
push 1
mov ecx, ebp
call fcn.0041679a
cmp dword [esp + 0x50], 0
mov ecx, esi
je 0x54de31
push 0x12
jmp 0x54de33
push 0x10
call fcn.0052f790
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x30]
mov ecx, ebp
call eax
cmp dword [esp + 0x40], 0
jle 0x54de9c
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 0x54df17
lea eax, [esp + 0x10c]
push eax
mov ecx, esi
call fcn.0054ce80
test eax, eax
je 0x54df17
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 0x54ded6
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.0052f790
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.00555f20
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 0x54df3e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
test byte [esp + 0x48], 0x10
je 0x54df59
lea ecx, [esp + 0xa0]
push ecx
push 0x10002
mov ecx, esi
call fcn.0054cc00
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.0050c2f2
add esp, 0x21c
ret 8
push 0x80070057
call fcn.00401920
int3