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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57c4c0
push eax
mov dword fs:[0], esp
sub esp, 0x80
lea eax, [esp + 0x18]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
call fcn.004a4bf0
mov ecx, dword [esi + 0xec]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1200
push ecx
call ebx
cmp eax, dword [esi + 0x78]
jle 0x4a43b7
mov edx, dword [esi + 0xec]
push 0
push 0
push 0x1200
push edx
call ebx
dec eax
push 0
push eax
mov eax, dword [esi + 0xec]
push 0x1202
push eax
call ebx
test eax, eax
je 0x4a43b7
mov ecx, dword [esi + 0xec]
push 0
push 0
push 0x1200
push ecx
call ebx
cmp eax, dword [esi + 0x78]
jg 0x4a4378
mov edx, dword [esi + 0xec]
push 0
push 0
push 0x1200
push edx
call ebx
cmp eax, dword [esi + 0x78]
jge 0x4a444b
mov ebp, 0x5ed678
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x6c]
push eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x80], eax
push eax
mov eax, dword [esi + 0xec]
push 0x1200
push eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x80], 0x64
mov dword [esp + 0x90], 0x4002
mov dword [esp + 0x84], ebp
call ebx
mov edx, dword [esi + 0xec]
lea ecx, [esp + 0x6c]
push ecx
push eax
push 0x1201
push edx
call ebx
test eax, eax
jl 0x4a444b
mov eax, dword [esi + 0xec]
push 0
push 0
push 0x1200
push eax
call ebx
cmp eax, dword [esi + 0x78]
jl 0x4a43d3
mov edx, dword [esi + 0xec]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.00560619
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esp + 0x3c]
sub eax, edx
mov edx, dword [esp + 0x44]
push 1
sub edx, ecx
mov dword [esp + 0x3c], eax
push edx
mov edx, dword [esp + 0x48]
sub edx, eax
push edx
push ecx
push eax
lea ecx, [esi + 0xd0]
call fcn.0055cecc
mov eax, dword [esi + 0x78]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x4a45d3
lea ebp, [esi + 0x80]
mov eax, dword [0x5e8e38]
mov dword [esp + 0x24], eax
push 0x5d9564
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x24], 0x64
call fcn.005597b5
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0xa0], 1
call fcn.004a64d0
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x4a4518
mov eax, dword [ecx + 0x10]
add ecx, 0x14
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.00559765
mov edx, dword [esp + 0x10]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xec]
lea ecx, [esp + 0x48]
push ecx
push edx
push 0x1203
push eax
mov dword [esp + 0x58], 3
call ebx
test eax, eax
je 0x4a45ab
mov ecx, dword [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
call fcn.0055969a
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00541319
mov ecx, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x4a4577
cmp dword [esp + 0x4c], ecx
je 0x4a45a2
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [eax - 8]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0xec]
push ecx
push edx
push 0x1204
push eax
call ebx
lea ecx, [esp + 0x14]
call fcn.0055962c
lea ecx, [esp + 0x24]
mov dword [esp + 0x98], 0xffffffff
call fcn.0055962c
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4a44b0
mov ecx, dword [esi + 0xa4]
xor ebp, ebp
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x18], eax
je 0x4a4601
mov edi, dword [eax + 0x10]
lea ecx, [esp + 0x18]
add ebp, edi
call fcn.004a7320
mov ecx, dword [esi + 0xa4]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jne 0x4a45e5
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
sub eax, edx
lea edi, [esi + 0x10c]
cmp ebp, eax
mov dword [esi + 0x40], ebp
mov dword [esi + 0x3c], eax
mov ecx, edi
jg 0x4a4641
call fcn.0055cf83
test eax, eax
je 0x4a46f3
push 0
mov ecx, edi
call fcn.0055cf9e
push 0
mov ecx, edi
call fcn.0055cf5c
jmp 0x4a46f3
call fcn.0055cf83
test eax, eax
jne 0x4a4667
push 1
mov ecx, edi
call fcn.0055cf9e
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4a465e
push 5
jmp 0x4a4660
push 0
mov ecx, edi
call fcn.0055cf5c
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
sub ebx, ecx
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x14], ecx
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x48]
push 0x17
lea edi, [esi + 0x10c]
push edx
push 2
mov ecx, edi
mov dword [esp + 0x54], 0x1c
mov dword [esp + 0x58], 0x17
call fcn.0055ba0e
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4a46cb
cmp ebp, dword [esp + 0x54]
jne 0x4a46cb
cmp ebx, dword [esp + 0x58]
jne 0x4a46cb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
je 0x4a46f3
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x48]
push 1
mov dword [esp + 0x60], ecx
push edx
push 2
mov ecx, edi
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
call fcn.0055b9c1
mov eax, dword [esi + 0x78]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jle 0x4a47c4
lea edi, [esi + 0x80]
mov ebp, 2
mov eax, dword [0x5e8e38]
mov dword [esp + 0x24], eax
push 0x5d9564
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x24], 0x64
call fcn.005597b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x98], 3
push ecx
mov ecx, edi
call fcn.004a7fe0
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x4a476a
mov edx, dword [esp + 0x10]
cmp edx, dword [eax + 0xc]
jl 0x4a476a
lea eax, [esp + 0x1c]
jmp 0x4a4772
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [esi + 0x84]
cmp eax, ecx
je 0x4a4792
mov ecx, dword [eax + 0x10]
add eax, 0x14
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00559765
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
add ebx, eax
mov dword [esp + 0x98], 0xffffffff
call fcn.0055962c
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4a4713
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
sub edx, ecx
cmp ebx, edx
jg 0x4a47fe
add esi, 0x148
mov ecx, esi
call fcn.0055cf83
test eax, eax
je 0x4a48bd
push 0
mov ecx, esi
call fcn.0055cf9e
push 0
mov ecx, esi
call fcn.0055cf5c
jmp 0x4a48bd
lea ebp, [esi + 0x148]
mov ecx, ebp
call fcn.0055cf83
test eax, eax
jne 0x4a482c
push 1
mov ecx, ebp
call fcn.0055cf9e
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4a4823
push 5
jmp 0x4a4825
push 0
mov ecx, ebp
call fcn.0055cf5c
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
sub ebx, eax
mov esi, dword [esi + 0x4c]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x6c]
push 0x17
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
mov ecx, ebp
push eax
push 2
mov dword [esp + 0x78], 0x1c
mov dword [esp + 0x7c], 0x17
call fcn.0055ba0e
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4a4889
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
cmp ecx, eax
jne 0x4a4889
cmp ebx, dword [esp + 0x7c]
jne 0x4a4889
cmp esi, dword [esp + 0x80]
je 0x4a48bd
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push 1
push eax
push 2
mov ecx, ebp
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], esi
call fcn.0055b9c1
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret