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

Disassembly:
push 0xffffffffffffffff
push 0x54a3d0
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.004733a0
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 0x4f3430
cmp ebp, 0x2020033
je 0x4f3430
test byte [esp + 0x88], 0xf
je 0x4f3430
test ebp, 0x80000000
jne 0x4f3430
mov ecx, dword [esi + 0x5c]
cmp dword [ecx + 0x2d8], 1
je 0x4f3238
cmp dword [ecx + 0x2d4], edi
je 0x4f33bc
cmp ebp, 0x2020054
jne 0x4f3fbc
mov eax, dword [0x596a5c]
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.004ec590
cmp eax, edi
mov dword [esp + 0x88], eax
je 0x4f339e
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 8]
cmp eax, edi
je 0x4f339e
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 0x8c]
push edi
push edx
push eax
add ecx, 0x20c
call fcn.004d2e80
test eax, eax
je 0x4f339e
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.004d2de0
test eax, eax
je 0x4f339e
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x4c]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 8]
jne 0x4f32ff
mov eax, dword [eax]
push ebp
push eax
call fcn.00501e6d
add esp, 8
test eax, eax
je 0x4f3302
inc ebx
jmp 0x4f32be
mov ecx, dword [esi + 0x5c]
push ebx
add ecx, 0x1f0
call fcn.004d2e20
cmp eax, edi
je 0x4f339e
mov edx, dword [esp + 0x8c]
cmp dword [edx + 0x3c], edi
jne 0x4f3329
xor ecx, ecx
jmp 0x4f332c
mov ecx, dword [edx + 0x34]
push eax
mov eax, dword [edx + 0x3c]
shr eax, 2
push eax
push ecx
call fcn.004743b0
add esp, 0xc
mov ecx, 0x599b30
mov esi, eax
push edi
push edi
push edi
push edi
call fcn.00408300
mov ecx, dword [esp + 0x8c]
push ecx
push 1
mov ecx, 0x599b30
call fcn.00408730
cmp eax, edi
je 0x4f339e
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.00519a06
jmp 0x4f3fbc
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 0
call fcn.00519a06
jmp 0x4f3fbc
cmp ebp, 0x2020054
jne 0x4f3409
mov edx, dword [esi + 0x4c]
mov eax, dword [edx + 8]
cmp eax, edi
je 0x4f3409
lea edx, [esp + 0x1c]
push edi
push edx
push eax
add ecx, 0x20c
call fcn.004d2e80
cmp eax, 1
jne 0x4f3409
mov eax, dword [esp + 0x1c]
mov ecx, 0x599b30
push eax
push 1
call fcn.00408730
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x4f3409
mov edx, dword [eax]
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
jmp 0x4f3412
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, 0x59a5c8
call fcn.004e7f20
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [ebp - 0x2020004]
cmp ecx, 0x7c
ja case.0x4f344a.33685525
or edi, 0xffffffff
xor edx, edx
mov dl, byte [ecx + 0x4f4064]
jmp dword [edx*4 + 0x4f401c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, esi
call fcn.0048e7a0
jmp 0x4f3f86
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x244
call fcn.004d2d90
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.004d2760
mov ebp, eax
test ebp, ebp
je 0x4f3f86
lea ebx, [ebp + 0x18]
push ebx
call fcn.00474320
add ebx, eax
push ebx
call fcn.00474320
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.00450cd0
test edi, edi
mov dword [esp + 0x90], eax
je 0x4f3f86
test eax, eax
je 0x4f3f86
mov edx, dword [edi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0051b38f
test eax, eax
mov dword [esp + 0x84], eax
je 0x4f3f86
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x24]
push eax
call fcn.005225ac
mov edx, dword [esp + 0x24]
cmp edx, 0xffff8001
jl 0x4f354d
cmp edx, 0x7fff
jge 0x4f3554
jmp 0x4f355d
mov edx, 0xffff8001
jmp 0x4f3559
mov edx, 0x7fff
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x28]
cmp ecx, 0xffff8001
jl 0x4f3573
cmp ecx, 0x7fff
jge 0x4f357a
jmp 0x4f3583
mov ecx, 0xffff8001
jmp 0x4f357f
mov ecx, 0x7fff
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x2c]
sub eax, edx
js 0x4f3592
cmp eax, 0x7fff
jge 0x4f359e
xor ebx, ebx
test eax, eax
setl bl
dec ebx
and ebx, eax
jmp 0x4f35a3
mov ebx, 0x7fff
mov eax, dword [esp + 0x30]
sub eax, ecx
js 0x4f35b2
cmp eax, 0x7fff
jge 0x4f35c4
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, eax
mov ebp, edx
mov edx, dword [esp + 0x24]
jmp 0x4f35c9
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.005225ac
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.0051ad2b
mov ecx, dword [esp + 0x90]
test dword [ecx + 0x14], 0x100000
je 0x4f3635
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.005225ac
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.004ed560
mov edx, dword [esi + 0x90]
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx + 0x1c]
jne 0x4f3690
mov ecx, esi
call fcn.004f9170
jmp 0x4f3692
xor eax, eax
mov ecx, dword [esp + 0x28]
mov edx, ecx
sub edx, eax
cmp edx, 0xffff8001
jl 0x4f36cb
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x4f36bd
mov ecx, esi
call fcn.004f9170
mov ecx, dword [esp + 0x28]
jmp 0x4f36bf
xor eax, eax
mov edx, ecx
sub edx, eax
cmp edx, 0x7fff
jge 0x4f3722
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x4f36e6
mov ecx, esi
call fcn.004f9170
mov ecx, dword [esp + 0x28]
jmp 0x4f36e8
xor eax, eax
mov edx, ecx
sub edx, eax
cmp edx, 0xffff8001
jge 0x4f36fb
mov eax, 0xffff8001
jmp 0x4f3727
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x4f371a
mov ecx, esi
call fcn.004f9170
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, ecx
jmp 0x4f3727
xor eax, eax
sub ecx, eax
mov eax, ecx
jmp 0x4f3727
mov eax, 0x7fff
push 0xfffffffffffffffc
push eax
mov eax, dword [esi + 0x4c]
push ebp
push ebx
push eax
mov ecx, esi
call fcn.004ed560
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.004ed560
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.004ed560
mov edx, dword [esi + 0x90]
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx + 0x1c]
je 0x4f3795
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.005225e8
mov ecx, dword [esi + 0x90]
lea edx, [esp + 0x24]
push edx
call fcn.005225ac
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.004f6020
mov ecx, esi
call fcn.004f5c70
jmp 0x4f3f86
lea ecx, [esp + 0x38]
call fcn.004733a0
mov ebx, 0x54d910
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 2
call fcn.004733a0
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.00473660
push 0xfffffffffffffffb
lea ecx, [esp + 0x50]
call fcn.00473660
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.0048e7a0
mov eax, dword [esp + 0x5c]
shr eax, 2
test eax, eax
jle 0x4f384e
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.0048e7a0
mov edi, 0x54d7d0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 4
mov dword [esp + 0x4c], edi
call fcn.004735a0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x38]
jmp 0x4f3f81
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f3f86
push ebp
mov ecx, esi
call fcn.004f4510
jmp 0x4f3f86
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f3f86
push ebp
mov ecx, esi
call fcn.004f4130
jmp 0x4f3f86
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f3f86
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, dword [esi + 0x5c]
add ecx, 0x244
call fcn.004d2d90
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 0x4f3927
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.004ed2c0
inc ebx
cmp ebx, ebp
jl 0x4f38ff
push 0
mov ecx, esi
call fcn.004f58d0
jmp 0x4f3f86
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f3f86
lea ecx, [esp + 0x38]
call fcn.004733a0
lea ecx, [esp + 0x38]
push 0
push ecx
mov ecx, esi
mov byte [esp + 0x84], 5
call fcn.004f7da0
mov edx, dword [esp + 0x48]
shr edx, 2
test edx, edx
jle 0x4f39f8
add ebp, 0xfdfdffc1
xor ecx, ecx
xor eax, eax
cmp ebp, 7
ja case.default.0x4f397d
jmp dword [ebp*4 + 0x4f40e4]
mov ecx, edi
jmp case.default.0x4f397d
mov eax, edi
jmp case.default.0x4f397d
mov ecx, dword [0x599a10]
cmp ecx, 1
jge 0x4f399c
mov ecx, 1
neg ecx
jmp case.default.0x4f397d
mov ecx, dword [0x599a10]
cmp ecx, 1
jge case.default.0x4f397d
mov ecx, 1
jmp case.default.0x4f397d
mov eax, dword [0x599a14]
cmp eax, 1
jge 0x4f39c1
mov eax, 1
neg eax
jmp case.default.0x4f397d
mov eax, dword [0x599a14]
cmp eax, 1
jge case.default.0x4f397d
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.004f31b0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], 0x54d7d0
lea ecx, [esp + 0x38]
jmp 0x4f3f81
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, dword [esi + 0x5c]
add ecx, 0x244
call fcn.004d2d90
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.0x4f3a41
jmp dword [ebp*4 + 0x4f4104]
mov dword [esp + 0x8c], edi
jmp case.default.0x4f3a41
mov dword [esp + 0x90], edi
jmp case.default.0x4f3a41
mov dword [esp + 0x90], 1
jmp case.default.0x4f3a41
mov eax, dword [0x599a10]
cmp eax, 1
jge 0x4f3a76
mov eax, 1
neg eax
mov dword [esp + 0x8c], eax
jmp case.default.0x4f3a41
mov eax, dword [0x599a10]
cmp eax, 1
jge 0x4f3a78
mov dword [esp + 0x8c], 1
jmp case.default.0x4f3a41
mov eax, dword [0x599a14]
cmp eax, 1
jge 0x4f3aa7
mov eax, 1
neg eax
jmp 0x4f3ac0
mov eax, dword [0x599a14]
mov dword [esp + 0x90], 1
cmp eax, 1
jl case.default.0x4f3a41
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x24]
call fcn.004733a0
mov eax, dword [esi + 0x78]
mov byte [esp + 0x7c], 6
cmp eax, 1
push 0
jne 0x4f3af6
mov ecx, dword [esi + 0x4c]
add ecx, 0x14
call fcn.004d26c0
push eax
lea ecx, [esp + 0x28]
call fcn.00473660
jmp 0x4f3b02
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call fcn.004f7da0
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 0x4f3bfe
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.004d2760
test eax, eax
je 0x4f3bd8
lea edi, [eax + 0x18]
push edi
call fcn.00474320
add edi, eax
push edi
call fcn.00474320
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.004ed560
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.004ed560
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 0x4f3b2b
mov ecx, esi
call fcn.004f51c0
push 0
push 0
mov ecx, esi
call fcn.004f6020
cmp dword [esi + 0x78], 1
jne 0x4f3c24
mov ecx, dword [esi + 0x1c]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.004f5c70
mov byte [esp + 0x7c], 0
mov dword [esp + 0x24], 0x54d7d0
lea ecx, [esp + 0x24]
jmp 0x4f3f81
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 0x4f3c65
test eax, eax
je 0x4f3f86
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 0x10]
mov edi, eax
shr edi, 2
test eax, eax
jne 0x4f3c7c
xor ebp, ebp
jmp 0x4f3c7f
mov ebp, dword [ecx + 8]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x244
call fcn.004d2d90
test edi, edi
mov dword [esp + 0x90], eax
jle 0x4f3e0e
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.004d2760
test eax, eax
je 0x4f3dee
lea edi, [eax + 0x18]
push edi
call fcn.00474320
add edi, eax
push edi
call fcn.00474320
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.0051b38f
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.005225ac
mov eax, dword [edi + 0x18]
mov dword [esp + 0x84], 0
test eax, eax
jne 0x4f3d3b
mov ecx, esi
call fcn.004f9170
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 0x4f3d59
cmp ebx, 0x7fff
jge 0x4f3d60
cmp ebx, 0xffff8001
jge 0x4f3d65
mov ebx, 0xffff8001
jmp 0x4f3d65
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.004ed560
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea edi, [eax + ecx]
cmp edi, 0xffff8001
jl 0x4f3da6
cmp edi, 0x7fff
jge 0x4f3dad
cmp edi, 0xffff8001
jge 0x4f3db2
mov edi, 0xffff8001
jmp 0x4f3db2
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.004ed560
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.0051ad2b
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 0x4f3cab
push 0
push 0
mov ecx, esi
call fcn.004f6020
mov ecx, esi
call fcn.004f5c70
jmp 0x4f3f86
mov eax, dword [esp + 0x8c]
mov ecx, esi
push eax
call fcn.004eb660
jmp 0x4f3f86
push ebp
mov ecx, esi
call fcn.004f4c40
jmp 0x4f3f86
push ebp
mov ecx, esi
call fcn.004ec3f0
jmp 0x4f3f86
mov ecx, esi
call fcn.004f8530
mov ecx, esi
call fcn.004f4a20
jmp 0x4f3f86
mov ecx, esi
call fcn.004f8890
jmp 0x4f3f86
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ecx
push edx
mov ecx, esi
call fcn.004ec870
jmp 0x4f3f86
mov ecx, 0x599bf0
call fcn.004558e0
test eax, eax
jne 0x4f3ed2
push 0x59642c
mov ecx, 0x59a438
call fcn.00519b43
mov eax, dword [0x59a3dc]
mov dword [0x59a43c], 0x40
push 0
push 0x73
mov ecx, dword [eax + 0x1c]
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4f3f86
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x244
call fcn.004d2d90
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.004733a0
lea eax, [esp + 0x38]
mov ecx, 0x599b30
push eax
push ebx
mov byte [esp + 0x84], 7
call fcn.00435380
cmp eax, 1
jne 0x4f3f70
mov ecx, esi
call fcn.004f91d0
mov ecx, esi
call fcn.004f51c0
cmp dword [0x5999ac], 1
jne 0x4f3f5e
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4f3f5e
mov edi, dword [esp + 0x40]
test edi, edi
je 0x4f3f5e
cmp byte [edi], 0
je 0x4f3f5e
push edi
mov ebx, edi
call fcn.00474320
add edi, eax
push edi
mov ebp, edi
call fcn.00474320
mov ecx, dword [esi + 0x4c]
add esp, 8
add edi, eax
push ebp
push ebx
call fcn.004cede0
cmp byte [edi], 0
jne 0x4f3f38
push 0
push 0
push 0
push 0
mov ecx, 0x599b30
call fcn.00408300
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], 0x54d7d0
lea ecx, [esp + 0x38]
call fcn.004735a0
cmp dword [esp + 0x14], 1
jne 0x4f3fbc
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f3f9e
mov edx, dword [ecx]
lea eax, [esp + 0x60]
push eax
jmp 0x4f3fa7
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, 0x59a5c8
call fcn.004e7ff0
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x60], 0x54d7d0
call fcn.004735a0
mov eax, 1
jmp 0x4f4006
cmp eax, 1
jne 0x4f3feb
mov ecx, 0x59a5c8
call fcn.004e7fc0
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x60], 0x54d7d0
call fcn.004735a0
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