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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a2ff8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x4a8b6c]
push ebx
mov ecx, dword [edx + 0x1ec]
push esi
push edi
cmp ecx, dword [edx + 0x1f0]
je 0x427b2c
call fcn.00426000
mov ecx, dword [0x4a8b6c]
mov dword [ecx + 0x1d8], eax
test eax, eax
jne 0x427b14
or ebx, 0xffffffff
jmp 0x428224
mov ecx, dword [0x4a8b6c]
mov eax, dword [ecx + 0x1ec]
mov dword [ecx + 0x1f0], eax
mov edx, dword [0x4a8b6c]
mov eax, dword [edx + 0xd8]
mov ebx, dword [edx + 0x1f0]
test eax, eax
je 0x427b6d
xor esi, esi
test eax, eax
jle 0x427b6d
xor edi, edi
mov eax, dword [edx + 0xdc]
mov eax, dword [eax + edi + 0x3c]
test eax, eax
je 0x427b61
push ebx
push edx
push 0x4a8b38
call eax
mov edx, dword [0x4a8b6c]
inc esi
add edi, 0x4c
cmp esi, dword [edx + 0xd8]
jl 0x427b44
mov eax, dword [0x4a8b70]
xor ecx, ecx
mov dword [eax + 0x20], 0
mov eax, dword [0x4a8b70]
mov dword [ebp - 0x18], ecx
mov dword [eax + 0x1c], 0
mov eax, dword [0x4a8b70]
xor ebx, ebx
mov dword [eax + 0x28], 0
mov eax, dword [0x4a8b70]
mov dword [ebp - 0x1c], ebx
mov dword [eax + 0x24], 0
mov eax, dword [0x4a8b70]
mov dword [eax + 0x78], 0
mov eax, dword [0x4a8b70]
mov dword [eax + 0x74], 0
mov ecx, dword [0x4a8b6c]
mov edx, dword [0x4a8b70]
cmp dword [ecx + 0x1a8], ebx
je 0x427bed
test dword [ecx + 0x1b0], 0x200000
je 0x427bed
mov esi, dword [ecx + 0x1bc]
mov edi, dword [ecx + 0x1c0]
jmp 0x427c1b
test dword [edx + 0xc], 0x100
je 0x427c04
mov esi, dword [0x4a8d0c]
mov edi, dword [0x4a8d08]
jmp 0x427c1b
movsx eax, word [ecx + 0x1c]
mov esi, dword [edx]
mov edi, dword [edx + 4]
cmp eax, esi
cmovl esi, eax
movsx eax, word [ecx + 0x1e]
cmp eax, edi
cmovl edi, eax
mov dword [edx + 0x958], esi
mov eax, dword [0x4a8b70]
mov dword [eax + 0x95c], edi
mov eax, dword [0x4a8b70]
test dword [eax + 0xc], 0x800
jne 0x427d38
push 0
push dword [0x4a8b44]
call dword [sym.imp.MMFS2.dll_Ordinal_34]
mov ecx, dword [0x4a8b6c]
mov ebx, eax
mov eax, dword [ecx + 0x38c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.MMFS2.dll_Ordinal_173]
mov ecx, dword [0x4a8b70]
mov dword [ecx + 0x18], eax
mov ecx, dword [0x4a8b6c]
push dword [ecx + 0x1cc]
mov ecx, dword [0x4a8b70]
push edi
mov ecx, dword [ecx + 0x18]
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_372]
push dword [0x4a8b6c]
mov ecx, dword [0x4a8b70]
push 0x428cc0
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_982]
cmp dword [0x4a8c3c], 0
je 0x427cc0
mov ecx, dword [0x4a8b70]
push 1
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_876]
mov eax, dword [0x4a8b6c]
mov eax, dword [eax + 0x23c]
test eax, eax
je 0x427cdf
mov ecx, dword [0x4a8b70]
push eax
mov ecx, dword [ecx + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_361]
mov eax, dword [0x4a8b70]
push dword [eax + 0x18]
push dword [0x4a8b44]
call dword [sym.imp.MMFS2.dll_Ordinal_32]
mov eax, dword [0x4a8b70]
test byte [eax + 0xc], 4
je 0x427d1e
test ebx, ebx
je 0x427d1e
mov ecx, dword [ebp - 0x18]
push dword [eax + 0x18]
test ecx, ecx
je 0x427d14
call dword [sym.imp.MMFS2.dll_Ordinal_342]
jmp 0x427d33
mov ecx, ebx
call dword [sym.imp.MMFS2.dll_Ordinal_342]
jmp 0x427d33
test byte [0x4a8b54], 0x10
jne 0x427d38
push dword [eax + 8]
mov ecx, dword [eax + 0x18]
call dword [sym.imp.MMFS2.dll_Ordinal_445]
mov eax, dword [0x4a8b70]
movsx esi, word [eax + 0x8f0]
mov edi, dword [eax + 0x44]
mov edx, dword [eax + 0x50]
add esi, esi
test edi, edi
jle 0x427d7f
mov ebx, dword [0x4a8b6c]
add edx, 2
cmp word [edx + 0xe], 0
jbe 0x427d79
movzx ecx, word [edx]
mov eax, dword [ebx + 0x198]
movzx ecx, word [eax + ecx*2]
mov eax, dword [ebx + 0x19c]
mov eax, dword [eax + ecx*4]
cmp word [eax + 2], 2
jae 0x427d79
inc esi
add edx, 0x24
dec edi
jne 0x427d54
push esi
push 0
push 1
push dword [0x4a8b44]
call dword [sym.imp.MMFS2.dll_Ordinal_31]
call fcn.00425d10
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_63]
push 0
push dword [0x4a8b44]
call edi
push dword [0x4a8b4c]
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
call ebx
test eax, eax
jne 0x427dbc
call fcn.0043fb90
mov esi, dword [0x4a8b70]
test esi, esi
je 0x427df7
mov edi, dword [esi + 0x980]
test edi, edi
je 0x427df1
mov ecx, edi
call dword [sym.imp.MMFS2.dll_Ordinal_286]
push edi
call fcn.00468843
mov dword [esi + 0x980], 0
mov esi, dword [0x4a8b70]
add esp, 4
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_63]
cmp dword [0x4a8b80], 0
jne 0x427e12
push dword [0x4a8b44]
call dword [sym.imp.MMFS2.dll_Ordinal_832]
mov esi, dword [0x4a8b70]
cmp word [0x4a8b56], 3
jne 0x427e73
mov ecx, dword [0x4a8b6c]
cmp dword [ecx + 0x1a8], 0
jne 0x427e30
mov eax, dword [esi + 0x14]
jmp 0x427e59
mov eax, dword [ecx + 0x1a8]
test eax, eax
je 0x427e4c
lea ebx, [ebx]
mov ecx, eax
mov eax, dword [ecx + 0x1a8]
test eax, eax
jne 0x427e40
mov eax, dword [ecx + 0x1d8]
test eax, eax
je 0x427e73
mov eax, dword [eax + 0x14]
test eax, eax
je 0x427e73
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x427e73
push 0
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_742]
mov esi, dword [0x4a8b70]
mov ecx, esi
call fcn.004284e0
mov eax, dword [0x4a8b70]
test byte [eax + 0xc], 2
je 0x427e97
push dword [0x4a8b48]
call ebx
call fcn.0043fb90
call fcn.004400a0
call fcn.004431e0
call fcn.004349e0
mov ecx, dword [0x4a8b70]
mov dword [ecx + 0x960], eax
mov ecx, dword [0x4a8b70]
test byte [ecx + 0xc], 0x20
push dword [ecx + 0x960]
je 0x427ede
mov eax, dword [ecx + 4]
add eax, 0x10
push eax
mov eax, dword [ecx]
add eax, 0x40
push eax
push 0xfffffffffffffff0
push 0xffffffffffffffc0
push dword [0x4a8b44]
call dword [sym.imp.MMFS2.dll_Ordinal_102]
jmp 0x427eee
push 0x10
push 0x40
push dword [0x4a8b44]
call dword [sym.imp.MMFS2.dll_Ordinal_101]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x4a8b6c]
mov dword [ecx + 0x1e0], eax
mov eax, dword [0x4a8b70]
xor ecx, ecx
cmp dword [eax + 0x60], ecx
setne cl
call fcn.00443c80
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x427f8c
push 1
push dword [0x4a8b44]
call edi
mov ecx, dword [0x4a8b6c]
mov ecx, dword [ecx + 0x1d8]
call fcn.00425330
mov eax, dword [0x4a8b6c]
mov dword [eax + 0x1d8], 0
mov eax, dword [0x4a8b6c]
mov esi, dword [eax + 0x38c]
test esi, esi
je 0x427f75
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_286]
mov ecx, esi
call eax
push esi
call fcn.00468843
mov eax, dword [0x4a8b6c]
add esp, 4
mov dword [eax + 0x38c], 0
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x428224
push edi
call dword [sym.imp.MMFS2.dll_Ordinal_174]
jmp 0x428224
mov eax, dword [0x4a8b70]
cmp dword [eax + 0x60], 0
je 0x427ff0
cmp dword [eax + 0x74], 0
jne 0x427fb6
call fcn.00443ea0
mov ecx, dword [0x4a8b70]
mov dword [ecx + 0x74], eax
mov eax, dword [0x4a8b70]
cmp dword [eax + 0x74], 0
je 0x427fc7
mov eax, dword [0x4a8b6c]
mov dword [eax + 0x1e4], 5
jmp 0x427fff
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
test eax, eax
mov edx, edi
cmovne edx, eax
xor ecx, ecx
call fcn.00427590
test eax, eax
jne 0x428002
mov eax, dword [0x4a8b6c]
mov dword [eax + 0x1e4], 3
jmp 0x428002
mov eax, dword [0x4a8b6c]
mov dword [eax + 0x1e4], 3
mov edi, dword [ebp - 0x1c]
push dword [0x4a8b4c]
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [0x4a8b6c]
cmp dword [eax + 0x1a8], 0
jne 0x428082
push dword [0x4a8b4c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x428033
call fcn.0043fb90
jmp 0x428068
test byte [0x4a8b54], 0x10
je 0x428045
cmp dword [0x4a8b80], 0
jne 0x428056
mov eax, dword [0x4a8b6c]
test dword [eax + 0x1b0], 0x4000000
je 0x42805a
push 0
jmp 0x42805c
push 1
push dword [0x4a8b4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x30f
push dword [0x4a8b48]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42818b
mov ecx, dword [eax + 0x1b0]
mov edx, dword [eax + 0x1c0]
mov esi, dword [eax + 0x1bc]
mov dword [ebp - 0x18], edx
test cl, 0x20
je 0x428102
test ecx, 0x1000000
jne 0x4280f1
push 0xffffffffffffffec
push dword [0x4a8b4c]
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], edx
call esi
push eax
push 0
push 0xfffffffffffffff0
push dword [0x4a8b4c]
call esi
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
sub esi, dword [ebp - 0x14]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
jmp 0x4280fd
and ecx, 0xfeffffff
mov dword [eax + 0x1b0], ecx
mov eax, dword [0x4a8b6c]
test byte [eax + 0x14], 0x10
je 0x428128
push dword [0x4a8b44]
call dword [sym.imp.MMFS2.dll_Ordinal_16]
or ax, 2
movzx eax, ax
push eax
push dword [0x4a8b44]
call dword [sym.imp.MMFS2.dll_Ordinal_17]
push dword [0x4a8b4c]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x42814d
push 0x16
push dword [ebp - 0x18]
push esi
push eax
push eax
push eax
push dword [0x4a8b4c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x4a8b6c]
cmp dword [eax + 0x1b4], 0
je 0x42818b
test byte [0x4a8b54], 0x10
je 0x42816d
cmp dword [0x4a8b80], 0
jne 0x428179
test dword [eax + 0x1b0], 0x4000000
je 0x42817d
push 0
jmp 0x42817f
push 1
push dword [0x4a8b4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [0x4a8b6c]
mov esi, dword [eax + 0x38c]
test esi, esi
je 0x4281c3
mov eax, dword [sym.imp.MMFS2.dll_Ordinal_286]
mov ecx, esi
call eax
push esi
call fcn.00468843
mov eax, dword [0x4a8b6c]
add esp, 4
mov dword [eax + 0x38c], 0
test edi, edi
je 0x4281ce
push edi
call dword [sym.imp.MMFS2.dll_Ordinal_174]
cmp dword [0x4a8b80], 0
je 0x428224
cmp word [0x4a8b56], 3
jne 0x428224
cmp dword [0x4a8b50], 0
je 0x428224
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x428221
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
push 0
push dword [0x4a8b50]
push ebx
call edi
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push 1
push esi
push ebx
call edi
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [ebp - 0x20]
push 1
push dword [0x4a8b44]
call dword [sym.imp.MMFS2.dll_Ordinal_63]
test ebx, ebx
je 0x428245
mov eax, dword [0x4a8b6c]
mov dword [eax + 0x1e4], 6
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00467e26
mov esp, ebp
pop ebp
ret