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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x4963dc]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 0xc]
or dword [esp + 0x1c], 0xffffffff
and dword [esp + 0x24], 0
and dword [esp + 0x20], 0
push ebx
mov dword [esp + 0x34], eax
mov ebx, edx
mov eax, dword [0x499998]
push esi
mov dword [esp + 0x44], eax
mov eax, dword [0x499994]
push edi
mov dword [esp + 0x4c], eax
xor eax, eax
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
jne 0x4511c8
push 2
pop eax
jmp 0x4515e9
mov eax, dword [0x49b03c]
mov edi, dword [ebp + 8]
add edi, dword [esp + 0xc]
push 0
push dword [eax + 0xa5]
mov dword [esp + 0x48], edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [0x499998], eax
mov eax, dword [0x49b03c]
add eax, 0xa5
cmp dword [esp + 0xc], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x499994], eax
jae 0x45150f
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push 2
call fcn.0048810e
movsx eax, word [esp + 0x1c]
add dword [esp + 0xc], 2
cmp eax, 8
jg 0x4513ab
je 0x451380
sub eax, 1
je 0x451372
sub eax, 1
je 0x451364
sub eax, 1
je 0x45134a
sub eax, 1
je 0x45130e
sub eax, 1
je 0x4512ea
sub eax, 1
je 0x4512c6
sub eax, 1
jne 0x4514fd
push 0x12
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x10]
call fcn.0044eb9c
cmp byte [esp + 0x78], 0
jne 0x4512a8
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push 0x87
push 0xb3d
jmp 0x4512b4
lea eax, [esp + 0x68]
push eax
push 0
push 0xb59
mov eax, dword [0x49b03c]
push dword [eax + 0x171]
call edi
jmp 0x4514fd
push 2
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
call fcn.0044eb9c
mov eax, dword [0x49b03c]
movsx ecx, word [esp + 0x10]
mov dword [eax + 0xe5], ecx
jmp 0x4514fd
push 2
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
call fcn.0044eb9c
mov eax, dword [0x49b03c]
movsx ecx, word [esp + 0x10]
mov dword [eax + 0xe1], ecx
jmp 0x4514fd
push 2
lea edx, [esp + 0x14]
mov dword [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.0044eb9c
mov eax, dword [0x49b03c]
movsx ecx, word [esp + 0x10]
mov dword [eax + 0x7c], ecx
test ecx, 0x8000
je 0x4514fd
xor ecx, ecx
call fcn.00448984
jmp 0x4514fd
mov edx, dword [0x49b03c]
lea ecx, [esp + 0xc]
mov edx, dword [edx + 0x171]
call fcn.0044eea5
jmp 0x4514fd
lea ecx, [esp + 0xc]
call fcn.0044ed1f
jmp 0x4514fd
lea ecx, [esp + 0xc]
call fcn.0044ed64
jmp 0x4514fd
push 0x12
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x10]
call fcn.0044eb9c
lea eax, [esp + 0x68]
push eax
mov eax, dword [0x49b03c]
push 0
push 0xb59
push dword [eax + 0xed]
jmp 0x4512bf
sub eax, 9
je 0x4514ee
sub eax, 1
je 0x451456
sub eax, 1
je 0x451433
sub eax, 1
je 0x451420
sub eax, 1
je 0x451410
sub eax, 6
je 0x451402
dec eax
sub eax, 1
jne 0x4514fd
push 2
lea edx, [esp + 0x24]
lea ecx, [esp + 0x10]
call fcn.0044eb9c
mov ecx, dword [0x49b03c]
movsx eax, word [esp + 0x20]
and eax, 0x8000
or dword [ecx + 0x44], eax
jmp 0x4514fd
lea ecx, [esp + 0xc]
call fcn.0044ee57
jmp 0x4514fd
xor eax, eax
lea edx, [esp + 0x14]
inc eax
mov dword [esp + 0x18], eax
jmp 0x4514f2
mov dword [esp + 0x30], 1
lea edx, [esp + 0x34]
push 8
jmp 0x4514f4
push 2
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.0044eb9c
test ebx, ebx
je 0x4514fd
movsx eax, word [esp + 0x24]
mov dword [ebx], eax
jmp 0x4514fd
push 0x28
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x10]
call fcn.0044eb9c
push 0x20
lea edx, [esp + 0x80]
lea ecx, [esp + 0xb0]
call fcn.0048810e
movsx eax, word [esp + 0xcc]
lea edx, [esp + 0xa4]
mov dword [esp + 0x9c], eax
lea ecx, [esp + 0xd0]
movsx eax, word [esp + 0xce]
push 4
mov dword [esp + 0xa4], eax
call fcn.0048810e
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 0
call fcn.0048180a
mov ecx, dword [0x49b03c]
lea edx, [esp + 0x5c]
mov dword [esp + 0x60], eax
mov eax, dword [0x49b300]
push 0
mov byte [esp + 0x68], 0xff
mov dword [esp + 0x60], eax
mov ecx, dword [ecx + 0x171]
push 0
call fcn.0042be90
jmp 0x4514fd
lea edx, [esp + 0x28]
push 2
lea ecx, [esp + 0x10]
call fcn.0044eb9c
mov eax, dword [esp + 0x40]
cmp dword [esp + 0xc], eax
jb 0x45120e
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
test ax, ax
jle 0x45152e
push 0xffffffffffffffff
cwde
push eax
mov eax, dword [0x49b03c]
push 0xb41
push dword [eax + 0x171]
call edi
mov ecx, dword [0x49b03c]
mov ecx, dword [ecx + 0x171]
call fcn.0042c42a
cmp dword [esp + 0x2c], 0
je 0x451555
push 0
push 0
push 1
xor edx, edx
xor ecx, ecx
call fcn.004212da
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45158c
mov ax, word [esp + 0x14]
mov ecx, 0xf030
cmp ax, cx
jne 0x45157c
push ebx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x451588
mov ax, word [esp + 0x14]
push 0
cwde
push eax
push 0x112
push ebx
call edi
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x30], 0
je 0x4515c8
test eax, eax
je 0x4515c8
mov eax, 0xf120
cmp word [esp + 0x14], ax
jne 0x4515c8
movsx ecx, word [esp + 0x36]
movsx eax, word [esp + 0x3a]
movsx edx, word [esp + 0x34]
sub eax, ecx
push 1
push eax
movsx eax, word [esp + 0x40]
sub eax, edx
push eax
push ecx
push edx
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x50]
mov dword [0x499998], ecx
mov ecx, dword [esp + 0x50]
mov dword [0x499994], ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
inc eax
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048dc69
mov esp, ebp
pop ebp
ret 8