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

Disassembly:
push 0xffffffffffffffff
push 0x544b40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x60]
call fcn.00470b30
mov ebp, dword [esp + 0x84]
xor edi, edi
xor eax, eax
cmp ebp, 0x2020032
mov dword [esp + 0x7c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
je 0x4f09b0
cmp ebp, 0x2020033
je 0x4f09b0
test byte [esp + 0x88], 0xf
je 0x4f09b0
test ebp, 0x80000000
jne 0x4f09b0
mov ecx, dword [esi + 0x5c]
cmp dword [ecx + 0x2d8], 1
je 0x4f07b8
cmp dword [ecx + 0x2d4], edi
je 0x4f093c
cmp ebp, 0x2020054
jne 0x4f153c
mov eax, dword [0x58f614]
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x84]
push edi
push ecx
push edx
push eax
mov ecx, esi
mov byte [esp + 0x8c], 1
call fcn.004e9b40
cmp eax, edi
mov dword [esp + 0x88], eax
je 0x4f091e
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 8]
cmp eax, edi
je 0x4f091e
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 0x8c]
push edi
push edx
push eax
add ecx, 0x20c
call fcn.004d0460
test eax, eax
je 0x4f091e
mov ebp, dword [esp + 0x84]
xor ebx, ebx
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x90]
push eax
push ebx
add ecx, 0x1f0
call fcn.004d03c0
test eax, eax
je 0x4f091e
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x4c]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 8]
jne 0x4f087f
mov eax, dword [eax]
push ebp
push eax
call fcn.004ff41d
add esp, 8
test eax, eax
je 0x4f0882
inc ebx
jmp 0x4f083e
mov ecx, dword [esi + 0x5c]
push ebx
add ecx, 0x1f0
call fcn.004d0400
cmp eax, edi
je 0x4f091e
mov edx, dword [esp + 0x8c]
cmp dword [edx + 0x3c], edi
jne 0x4f08a9
xor ecx, ecx
jmp 0x4f08ac
mov ecx, dword [edx + 0x34]
push eax
mov eax, dword [edx + 0x3c]
shr eax, 2
push eax
push ecx
call fcn.00471b40
add esp, 0xc
mov ecx, 0x591f10
mov esi, eax
push edi
push edi
push edi
push edi
call fcn.00408230
mov ecx, dword [esp + 0x8c]
push ecx
push 1
mov ecx, 0x591f10
call fcn.00408660
cmp eax, edi
je 0x4f091e
mov edx, dword [esp + 0x88]
xor ebx, ebx
push edi
push edi
mov ecx, dword [edx + 0xc]
mov edx, dword [eax]
cmp ecx, edi
setg bl
lea ecx, [ebx + ecx + 2]
push ecx
push esi
mov ecx, eax
call dword [edx + 0xd8]
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 0
call fcn.00514336
jmp 0x4f153c
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 0
call fcn.00514336
jmp 0x4f153c
cmp ebp, 0x2020054
jne 0x4f0989
mov edx, dword [esi + 0x4c]
mov eax, dword [edx + 8]
cmp eax, edi
je 0x4f0989
lea edx, [esp + 0x1c]
push edi
push edx
push eax
add ecx, 0x20c
call fcn.004d0460
cmp eax, 1
jne 0x4f0989
mov eax, dword [esp + 0x1c]
mov ecx, 0x591f10
push eax
push 1
call fcn.00408660
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x4f0989
mov edx, dword [eax]
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
jmp 0x4f0992
mov edx, dword [esi]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call dword [edx + 0xd0]
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x5929a0
call fcn.004e54e0
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [ebp - 0x2020004]
cmp ecx, 0x7c
ja case.0x4f09ca.33685525
or edi, 0xffffffff
xor edx, edx
mov dl, byte [ecx + 0x4f15e4]
jmp dword [edx*4 + 0x4f159c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, esi
call fcn.0048be30
jmp 0x4f1506
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x244
call fcn.004d0370
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
push 0
push 0
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x4c]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x94]
push eax
add ecx, 0x14
mov dword [esp + 0x3c], edx
call fcn.004cfd40
mov ebp, eax
test ebp, ebp
je 0x4f1506
lea ebx, [ebp + 0x18]
push ebx
call fcn.00471ab0
add ebx, eax
push ebx
call fcn.00471ab0
mov ecx, dword [ebp]
mov edi, dword [ebx + eax]
add esp, 8
add ebx, eax
push 0
push ecx
mov ecx, dword [esi + 0x5c]
call fcn.0044e840
test edi, edi
mov dword [esp + 0x90], eax
je 0x4f1506
test eax, eax
je 0x4f1506
mov edx, dword [edi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00515cbf
test eax, eax
mov dword [esp + 0x84], eax
je 0x4f1506
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x24]
push eax
call fcn.0051cedc
mov edx, dword [esp + 0x24]
cmp edx, 0xffff8001
jl 0x4f0acd
cmp edx, 0x7fff
jge 0x4f0ad4
jmp 0x4f0add
mov edx, 0xffff8001
jmp 0x4f0ad9
mov edx, 0x7fff
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x28]
cmp ecx, 0xffff8001
jl 0x4f0af3
cmp ecx, 0x7fff
jge 0x4f0afa
jmp 0x4f0b03
mov ecx, 0xffff8001
jmp 0x4f0aff
mov ecx, 0x7fff
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x2c]
sub eax, edx
js 0x4f0b12
cmp eax, 0x7fff
jge 0x4f0b1e
xor ebx, ebx
test eax, eax
setl bl
dec ebx
and ebx, eax
jmp 0x4f0b23
mov ebx, 0x7fff
mov eax, dword [esp + 0x30]
sub eax, ecx
js 0x4f0b32
cmp eax, 0x7fff
jge 0x4f0b44
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, eax
mov ebp, edx
mov edx, dword [esp + 0x24]
jmp 0x4f0b49
mov ebp, 0x7fff
lea eax, [ebx + edx]
add ecx, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov eax, dword [edi + 0x1c]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 0x90]
call fcn.0051cedc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0x14
push ebp
push ebx
push edx
push eax
push 0
mov ecx, edi
call fcn.0051565b
mov ecx, dword [esp + 0x90]
test dword [ecx + 0x14], 0x100000
je 0x4f0bb5
mov eax, dword [esi + 0x90]
push 0
push 0
push 0x8004
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x84]
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.0051cedc
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
mov ecx, dword [esi + 0x4c]
push 0xfffffffffffffffd
push eax
push ebp
push ebx
push ecx
mov ecx, esi
call fcn.004eab10
mov edx, dword [esi + 0x90]
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx + 0x1c]
jne 0x4f0c10
mov ecx, esi
call fcn.004f66f0
jmp 0x4f0c12
xor eax, eax
mov ecx, dword [esp + 0x28]
mov edx, ecx
sub edx, eax
cmp edx, 0xffff8001
jl 0x4f0c4b
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x4f0c3d
mov ecx, esi
call fcn.004f66f0
mov ecx, dword [esp + 0x28]
jmp 0x4f0c3f
xor eax, eax
mov edx, ecx
sub edx, eax
cmp edx, 0x7fff
jge 0x4f0ca2
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x4f0c66
mov ecx, esi
call fcn.004f66f0
mov ecx, dword [esp + 0x28]
jmp 0x4f0c68
xor eax, eax
mov edx, ecx
sub edx, eax
cmp edx, 0xffff8001
jge 0x4f0c7b
mov eax, 0xffff8001
jmp 0x4f0ca7
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x4f0c9a
mov ecx, esi
call fcn.004f66f0
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, ecx
jmp 0x4f0ca7
xor eax, eax
sub ecx, eax
mov eax, ecx
jmp 0x4f0ca7
mov eax, 0x7fff
push 0xfffffffffffffffc
push eax
mov eax, dword [esi + 0x4c]
push ebp
push ebx
push eax
mov ecx, esi
call fcn.004eab10
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x4c]
sub ecx, eax
push 0xfffffffffffffffb
push ecx
push ebp
push ebx
push edx
mov ecx, esi
call fcn.004eab10
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x4c]
sub eax, edx
push 0xfffffffffffffffa
push eax
push ebp
push ebx
push ecx
mov ecx, esi
call fcn.004eab10
mov edx, dword [esi + 0x90]
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx + 0x1c]
je 0x4f0d15
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0051cf18
mov ecx, dword [esi + 0x90]
lea edx, [esp + 0x24]
push edx
call fcn.0051cedc
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_UnionRect]
lea eax, [esp + 0x24]
push 1
push eax
mov ecx, esi
call fcn.004f35a0
mov ecx, esi
call fcn.004f31f0
jmp 0x4f1506
lea ecx, [esp + 0x38]
call fcn.00470b30
mov ebx, 0x5478f0
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 2
call fcn.00470b30
mov dword [esp + 0x4c], ebx
mov edx, dword [esp + 0x8c]
xor ecx, ecx
mov dword [esp + 0x24], ecx
push edx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 3
call fcn.00470df0
push 0xfffffffffffffffb
lea ecx, [esp + 0x50]
call fcn.00470df0
mov ebx, dword [esp + 0x90]
lea ecx, [esp + 0x24]
mov eax, ebx
lea edx, [esp + 0x38]
and eax, 0xffff
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.0048be30
mov eax, dword [esp + 0x5c]
shr eax, 2
test eax, eax
jle 0x4f0dce
mov ecx, dword [esp + 0x54]
mov dword [ecx], 0xfffffffa
lea edx, [esp + 0x24]
lea eax, [esp + 0x38]
shr ebx, 0x10
push edx
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.0048be30
mov edi, 0x5477b0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 4
mov dword [esp + 0x4c], edi
call fcn.00470d30
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x38]
jmp 0x4f1501
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f1506
push ebp
mov ecx, esi
call fcn.004f1a90
jmp 0x4f1506
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f1506
push ebp
mov ecx, esi
call fcn.004f16b0
jmp 0x4f1506
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f1506
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, dword [esi + 0x5c]
add ecx, 0x244
call fcn.004d0370
xor edx, edx
cmp ebp, 0x2020076
mov ebp, dword [esi + 0x8c]
mov edi, eax
sete dl
shr ebp, 2
xor ebx, ebx
mov dword [esp + 0x8c], edx
test ebp, ebp
jle 0x4f0ea7
mov ecx, dword [esi + 0x84]
mov eax, dword [esp + 0x8c]
push eax
mov eax, dword [esi + 0x4c]
mov edx, dword [ecx + ebx*4]
push 0x80000000
push edx
push edi
push eax
mov ecx, esi
call fcn.004ea870
inc ebx
cmp ebx, ebp
jl 0x4f0e7f
push 0
mov ecx, esi
call fcn.004f2e50
jmp 0x4f1506
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f1506
lea ecx, [esp + 0x38]
call fcn.00470b30
lea ecx, [esp + 0x38]
push 0
push ecx
mov ecx, esi
mov byte [esp + 0x84], 5
call fcn.004f5320
mov edx, dword [esp + 0x48]
shr edx, 2
test edx, edx
jle 0x4f0f78
add ebp, 0xfdfdffc1
xor ecx, ecx
xor eax, eax
cmp ebp, 7
ja case.default.0x4f0efd
jmp dword [ebp*4 + 0x4f1664]
mov ecx, edi
jmp case.default.0x4f0efd
mov eax, edi
jmp case.default.0x4f0efd
mov ecx, dword [0x591df0]
cmp ecx, 1
jge 0x4f0f1c
mov ecx, 1
neg ecx
jmp case.default.0x4f0efd
mov ecx, dword [0x591df0]
cmp ecx, 1
jge case.default.0x4f0efd
mov ecx, 1
jmp case.default.0x4f0efd
mov eax, dword [0x591df4]
cmp eax, 1
jge 0x4f0f41
mov eax, 1
neg eax
jmp case.default.0x4f0efd
mov eax, dword [0x591df4]
cmp eax, 1
jge case.default.0x4f0efd
mov eax, 1
and eax, 0xffff
and ecx, 0xffff
shl eax, 0x10
or eax, ecx
mov ecx, esi
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0x202003d
call fcn.004f0730
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], 0x5477b0
lea ecx, [esp + 0x38]
jmp 0x4f1501
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, dword [esi + 0x5c]
add ecx, 0x244
call fcn.004d0370
mov ebx, eax
add ebp, 0xfdfdffb9
xor eax, eax
cmp ebp, 7
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
ja case.default.0x4f0fc1
jmp dword [ebp*4 + 0x4f1684]
mov dword [esp + 0x8c], edi
jmp case.default.0x4f0fc1
mov dword [esp + 0x90], edi
jmp case.default.0x4f0fc1
mov dword [esp + 0x90], 1
jmp case.default.0x4f0fc1
mov eax, dword [0x591df0]
cmp eax, 1
jge 0x4f0ff6
mov eax, 1
neg eax
mov dword [esp + 0x8c], eax
jmp case.default.0x4f0fc1
mov eax, dword [0x591df0]
cmp eax, 1
jge 0x4f0ff8
mov dword [esp + 0x8c], 1
jmp case.default.0x4f0fc1
mov eax, dword [0x591df4]
cmp eax, 1
jge 0x4f1027
mov eax, 1
neg eax
jmp 0x4f1040
mov eax, dword [0x591df4]
mov dword [esp + 0x90], 1
cmp eax, 1
jl case.default.0x4f0fc1
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x24]
call fcn.00470b30
mov eax, dword [esi + 0x78]
mov byte [esp + 0x7c], 6
cmp eax, 1
push 0
jne 0x4f1076
mov ecx, dword [esi + 0x4c]
add ecx, 0x14
call fcn.004cfca0
push eax
lea ecx, [esp + 0x28]
call fcn.00470df0
jmp 0x4f1082
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call fcn.004f5320
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov eax, ecx
neg eax
sbb eax, eax
shr ecx, 2
and eax, ebp
test ecx, ecx
jle 0x4f117e
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov ebp, dword [eax]
mov ecx, dword [esi + 0x4c]
push 0
push 0
push ebp
add ecx, 0x14
call fcn.004cfd40
test eax, eax
je 0x4f1158
lea edi, [eax + 0x18]
push edi
call fcn.00471ab0
add edi, eax
push edi
call fcn.00471ab0
mov edx, dword [edi + eax + 8]
mov ecx, dword [edi + eax + 0x10]
lea eax, [edi + eax + 4]
add esp, 8
add ecx, edx
mov edi, dword [eax]
mov eax, dword [eax + 8]
add eax, edi
push ecx
push eax
push edx
lea eax, [esp + 0x44]
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x8c]
sub ecx, edi
push 0xfffffffffffffffb
lea eax, [ecx + edx]
xor ecx, ecx
test eax, eax
mov edx, dword [esi + 0x4c]
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push ebp
push ebx
push edx
call fcn.004eab10
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x90]
add eax, ecx
xor edx, edx
test eax, eax
setl dl
dec edx
push 0xfffffffffffffffa
and eax, edx
mov ecx, esi
push eax
mov eax, dword [esi + 0x4c]
push ebp
push ebx
push eax
call fcn.004eab10
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
add eax, 4
dec ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
jne 0x4f10ab
mov ecx, esi
call fcn.004f2740
push 0
push 0
mov ecx, esi
call fcn.004f35a0
cmp dword [esi + 0x78], 1
jne 0x4f11a4
mov ecx, dword [esi + 0x1c]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.004f31f0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x24], 0x5477b0
lea ecx, [esp + 0x24]
jmp 0x4f1501
mov eax, dword [esp + 0x90]
movsx ebx, ax
shr eax, 0x10
movsx eax, ax
test ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
jne 0x4f11e5
test eax, eax
je 0x4f1506
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 0x10]
mov edi, eax
shr edi, 2
test eax, eax
jne 0x4f11fc
xor ebp, ebp
jmp 0x4f11ff
mov ebp, dword [ecx + 8]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x244
call fcn.004d0370
test edi, edi
mov dword [esp + 0x90], eax
jle 0x4f138e
mov dword [esp + 0x88], ebp
mov dword [esp + 0x10], edi
mov eax, dword [ebp]
mov ecx, dword [esi + 0x4c]
push 0
push 0
push eax
add ecx, 0x14
mov dword [esp + 0x98], eax
call fcn.004cfd40
test eax, eax
je 0x4f136e
lea edi, [eax + 0x18]
push edi
call fcn.00471ab0
add edi, eax
push edi
call fcn.00471ab0
mov ebp, dword [edi + eax]
add edi, eax
add esp, 8
lea eax, [esp + 0x38]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00515cbf
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0051cedc
mov eax, dword [edi + 0x18]
mov dword [esp + 0x84], 0
test eax, eax
jne 0x4f12bb
mov ecx, esi
call fcn.004f66f0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
sub ecx, eax
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x38]
add ebx, edx
cmp ebx, 0xffff8001
jl 0x4f12d9
cmp ebx, 0x7fff
jge 0x4f12e0
cmp ebx, 0xffff8001
jge 0x4f12e5
mov ebx, 0xffff8001
jmp 0x4f12e5
mov ebx, 0x7fff
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esi + 0x4c]
push 0xfffffffffffffffd
push ebx
push eax
push ecx
push edx
mov ecx, esi
call fcn.004eab10
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea edi, [eax + ecx]
cmp edi, 0xffff8001
jl 0x4f1326
cmp edi, 0x7fff
jge 0x4f132d
cmp edi, 0xffff8001
jge 0x4f1332
mov edi, 0xffff8001
jmp 0x4f1332
mov edi, 0x7fff
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x4c]
push 0xfffffffffffffffc
push edi
push edx
push eax
push ecx
mov ecx, esi
call fcn.004eab10
mov edx, dword [esp + 0x84]
push 0x15
push 0
add edi, edx
push 0
push edi
push ebx
push 0
mov ecx, ebp
call fcn.0051565b
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
add ebp, 4
dec eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x10], eax
jne 0x4f122b
push 0
push 0
mov ecx, esi
call fcn.004f35a0
mov ecx, esi
call fcn.004f31f0
jmp 0x4f1506
mov eax, dword [esp + 0x8c]
mov ecx, esi
push eax
call fcn.004e8c20
jmp 0x4f1506
push ebp
mov ecx, esi
call fcn.004f21c0
jmp 0x4f1506
push ebp
mov ecx, esi
call fcn.004e99a0
jmp 0x4f1506
mov ecx, esi
call fcn.004f5ab0
mov ecx, esi
call fcn.004f1fa0
jmp 0x4f1506
mov ecx, esi
call fcn.004f5e10
jmp 0x4f1506
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ecx
push edx
mov ecx, esi
call fcn.004e9e20
jmp 0x4f1506
mov ecx, 0x591fd0
call fcn.00453450
test eax, eax
jne 0x4f1452
push 0x58efe4
mov ecx, 0x592818
call fcn.00514473
mov eax, dword [0x5927bc]
mov dword [0x59281c], 0x40
push 0
push 0x73
mov ecx, dword [eax + 0x1c]
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4f1506
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x244
call fcn.004d0370
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.00470b30
lea eax, [esp + 0x38]
mov ecx, 0x591f10
push eax
push ebx
mov byte [esp + 0x84], 7
call fcn.00432ea0
cmp eax, 1
jne 0x4f14f0
mov ecx, esi
call fcn.004f6750
mov ecx, esi
call fcn.004f2740
cmp dword [0x591d8c], 1
jne 0x4f14de
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4f14de
mov edi, dword [esp + 0x40]
test edi, edi
je 0x4f14de
cmp byte [edi], 0
je 0x4f14de
push edi
mov ebx, edi
call fcn.00471ab0
add edi, eax
push edi
mov ebp, edi
call fcn.00471ab0
mov ecx, dword [esi + 0x4c]
add esp, 8
add edi, eax
push ebp
push ebx
call fcn.004cc3c0
cmp byte [edi], 0
jne 0x4f14b8
push 0
push 0
push 0
push 0
mov ecx, 0x591f10
call fcn.00408230
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], 0x5477b0
lea ecx, [esp + 0x38]
call fcn.00470d30
cmp dword [esp + 0x14], 1
jne 0x4f153c
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f151e
mov edx, dword [ecx]
lea eax, [esp + 0x60]
push eax
jmp 0x4f1527
mov edx, dword [esi]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call dword [edx + 0xd0]
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x5929a0
call fcn.004e55b0
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x60], 0x5477b0
call fcn.00470d30
mov eax, 1
jmp 0x4f1586
cmp eax, 1
jne 0x4f156b
mov ecx, 0x5929a0
call fcn.004e5580
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x60], 0x5477b0
call fcn.00470d30
xor eax, eax
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 0x10