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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5062c8
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x5475b0]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push esi
push edi
mov eax, dword [0x5475b0]
xor eax, esp
push eax
lea eax, [esp + 0x348]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], 5
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x10], eax
jne 0x4bc8b2
mov ecx, dword [0x54d9b4]
test ecx, ecx
je 0x4bc477
call fcn.0041fc5a
push 1
push dword [ebx + 0x100]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x100]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
push dword [esi]
mov ecx, ebx
call fcn.004bc097
cmp eax, 0xffffffff
je 0x4bc4b6
test eax, eax
js 0x4bc8b2
push eax
lea ecx, [ebx + 0x10]
call fcn.004ba68a
jmp 0x4bc8b2
mov eax, dword [0x548750]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x350], eax
lea eax, [esp + 0x2c]
push dword [esi]
mov dword [esp + 0x2c], 3
push 0x52268c
push eax
call fcn.0040306c
add esp, 0xc
mov dword [esp + 0x3c], 1
lea ecx, [esp + 0x30]
push edi
call fcn.004028f2
push 0x20
call fcn.004da35a
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x350], 1
test eax, eax
je 0x4bc52c
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.004bb062
jmp 0x4bc52e
xor eax, eax
mov ecx, dword [0x54d9b4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x330]
push eax
call fcn.00423e1f
lea ecx, [esp + 0x40]
call fcn.0044557c
mov byte [esp + 0x350], 2
lea ecx, [esp + 0x44]
mov eax, dword [esi]
mov dword [esp + 0x40], eax
lea eax, [esi + 0x20]
push eax
call fcn.00402aef
lea eax, [esi + 0x58]
push eax
lea ecx, [esp + 0x4c]
call fcn.00402aef
push edi
lea ecx, [esp + 0x50]
call fcn.004028f2
push dword [esp + 0x1c]
lea ecx, [esp + 0x54]
call fcn.004028f2
push dword [esp + 0x18]
lea ecx, [esp + 0x58]
call fcn.004028f2
push dword [esp + 0x20]
lea ecx, [esp + 0x60]
call fcn.004028f2
push 0x54e4d8
lea ecx, [esp + 0x64]
call fcn.00402aef
lea eax, [esi + 0x8c]
push eax
lea ecx, [esp + 0x68]
call fcn.004132e6
mov eax, dword [esi + 0x54]
xor ecx, ecx
cmp dword [eax - 8], ecx
mov eax, dword [esp + 0x10]
sete cl
mov dword [esp + 0x70], ecx
test eax, eax
je 0x4bc5ec
push eax
lea ecx, [esp + 0x5c]
call fcn.004028f2
jmp 0x4bc61c
mov edx, dword [esi]
push ecx
lea ecx, [esp + 0x14]
call fcn.004675ea
pop ecx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x354], 3
call fcn.00402aef
lea ecx, [esp + 0x10]
mov byte [esp + 0x350], 2
call fcn.00403080
push 0x1bc
call fcn.004da35a
pop ecx
mov dword [esp + 0x10], eax
mov byte [esp + 0x350], 4
test eax, eax
je 0x4bc64b
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.00445eba
mov edi, eax
mov dword [esp + 0x1c], eax
jmp 0x4bc651
xor edi, edi
mov dword [esp + 0x1c], edi
push ecx
push ecx
mov eax, esp
mov byte [esp + 0x358], 2
push 0
push 0x56000000
and dword [eax], 0
push dword [esi + 0x20]
push ecx
mov eax, esp
lea ecx, [esp + 0x348]
push dword [0x54dbe0]
mov dword [eax], ecx
mov ecx, edi
call fcn.00424a14
push ecx
mov ecx, dword [esp + 0x18]
push edi
call fcn.004bb125
lea eax, [esp + 0x24]
push eax
lea ecx, [ebx + 4]
call fcn.00410e2c
push dword [ebx + 0x4c]
lea ecx, [ebx + 0x10]
call fcn.004ba663
mov dword [esp + 0x14], eax
mov ecx, 0x284
mov eax, dword [ebx + 0x74]
sub eax, dword [ebx + 0x70]
cdq
idiv ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], eax
call fcn.004b88c6
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x80]
mov byte [esp + 0x350], 5
mov ecx, dword [esi + 0x20]
sub edx, ecx
mov dword [esp + 0x74], eax
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x4bc6e1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2e4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], 2
test eax, eax
je 0x4bc723
push ecx
mov ecx, eax
call fcn.004bb159
mov eax, dword [esp + 0x14]
cmp dword [eax], 6
jne 0x4bc723
push 0
call fcn.00423f90
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x1c]
lea ecx, [ebx + 0x10]
call fcn.004b97a8
lea eax, [esp + 0x310]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x318]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
call fcn.004482d7
mov ecx, dword [esp + 0x31c]
sub ecx, eax
mov dword [esp + 0x20], ecx
cmp edi, dword [esi + 4]
jl 0x4bc774
cmp ecx, dword [esi + 8]
jge 0x4bc885
lea eax, [esp + 0x310]
push eax
push dword [ebx + 0x100]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x320]
push eax
push dword [ebx + 0x100]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esi + 4]
mov eax, dword [esp + 0x10]
cmp eax, edi
jge 0x4bc7b2
sub edi, eax
add edi, dword [esp + 0x318]
jmp 0x4bc7b9
mov edi, dword [esp + 0x318]
mov esi, dword [esi + 8]
mov eax, dword [esp + 0x20]
cmp eax, esi
jge 0x4bc7cf
sub esi, eax
add esi, dword [esp + 0x31c]
jmp 0x4bc7d6
mov esi, dword [esp + 0x31c]
push 0
lea eax, [esp + 0x304]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esp + 0x308]
mov eax, edx
sub eax, dword [esp + 0x300]
mov ecx, dword [esp + 0x30c]
mov dword [esp + 0x10], eax
cmp edi, eax
jg 0x4bc85e
mov eax, ecx
sub eax, dword [esp + 0x304]
cmp esi, eax
jg 0x4bc85a
mov eax, dword [esp + 0x320]
add eax, edi
cmp eax, edx
jg 0x4bc83b
mov eax, dword [esp + 0x324]
add eax, esi
cmp eax, ecx
jg 0x4bc83b
push 6
push esi
push edi
xor eax, eax
push eax
push eax
push eax
jmp 0x4bc879
sub ecx, esi
push 4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
push esi
push edi
push eax
mov eax, dword [esp + 0x318]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
jmp 0x4bc877
mov eax, dword [esp + 0x10]
sub ecx, dword [esp + 0x304]
push 4
push ecx
push eax
push dword [esp + 0x310]
push dword [esp + 0x310]
push 0
push dword [ebx + 0x100]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esp + 0x74]
call fcn.004b964a
lea ecx, [esp + 0x40]
call fcn.0044607d
lea ecx, [esp + 0x34]
call fcn.00403080
lea ecx, [esp + 0x30]
call fcn.00403080
lea ecx, [esp + 0x2c]
call fcn.00403080
mov ecx, dword [esp + 0x348]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.004d9731
mov esp, ebp
pop ebp
ret 0x18