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

Disassembly:
push 0xffffffffffffffff
push 0x549f60
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.00473110
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 0x4f3020
cmp ebp, 0x2020033
je 0x4f3020
test byte [esp + 0x88], 0xf
je 0x4f3020
test ebp, 0x80000000
jne 0x4f3020
mov ecx, dword [esi + 0x5c]
cmp dword [ecx + 0x2d8], 1
je 0x4f2e28
cmp dword [ecx + 0x2d4], edi
je 0x4f2fac
cmp ebp, 0x2020054
jne 0x4f3bac
mov eax, dword [0x59697c]
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.004ec190
cmp eax, edi
mov dword [esp + 0x88], eax
je 0x4f2f8e
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 8]
cmp eax, edi
je 0x4f2f8e
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 0x8c]
push edi
push edx
push eax
add ecx, 0x20c
call fcn.004d2a60
test eax, eax
je 0x4f2f8e
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.004d29c0
test eax, eax
je 0x4f2f8e
mov eax, dword [esp + 0x90]
mov ecx, dword [esi + 0x4c]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 8]
jne 0x4f2eef
mov eax, dword [eax]
push ebp
push eax
call fcn.00501a6d
add esp, 8
test eax, eax
je 0x4f2ef2
inc ebx
jmp 0x4f2eae
mov ecx, dword [esi + 0x5c]
push ebx
add ecx, 0x1f0
call fcn.004d2a00
cmp eax, edi
je 0x4f2f8e
mov edx, dword [esp + 0x8c]
cmp dword [edx + 0x3c], edi
jne 0x4f2f19
xor ecx, ecx
jmp 0x4f2f1c
mov ecx, dword [edx + 0x34]
push eax
mov eax, dword [edx + 0x3c]
shr eax, 2
push eax
push ecx
call fcn.00474120
add esp, 0xc
mov ecx, 0x599a48
mov esi, eax
push edi
push edi
push edi
push edi
call fcn.00408260
mov ecx, dword [esp + 0x8c]
push ecx
push 1
mov ecx, 0x599a48
call fcn.00408690
cmp eax, edi
je 0x4f2f8e
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.00519616
jmp 0x4f3bac
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 0
call fcn.00519616
jmp 0x4f3bac
cmp ebp, 0x2020054
jne 0x4f2ff9
mov edx, dword [esi + 0x4c]
mov eax, dword [edx + 8]
cmp eax, edi
je 0x4f2ff9
lea edx, [esp + 0x1c]
push edi
push edx
push eax
add ecx, 0x20c
call fcn.004d2a60
cmp eax, 1
jne 0x4f2ff9
mov eax, dword [esp + 0x1c]
mov ecx, 0x599a48
push eax
push 1
call fcn.00408690
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x4f2ff9
mov edx, dword [eax]
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
jmp 0x4f3002
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, 0x59a4e0
call fcn.004e7b20
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [ebp - 0x2020004]
cmp ecx, 0x7c
ja case.0x4f303a.33685525
or edi, 0xffffffff
xor edx, edx
mov dl, byte [ecx + 0x4f3c54]
jmp dword [edx*4 + 0x4f3c0c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, esi
call fcn.0048e3d0
jmp 0x4f3b76
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x244
call fcn.004d2970
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.004d2340
mov ebp, eax
test ebp, ebp
je 0x4f3b76
lea ebx, [ebp + 0x18]
push ebx
call fcn.00474090
add ebx, eax
push ebx
call fcn.00474090
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.00450780
test edi, edi
mov dword [esp + 0x90], eax
je 0x4f3b76
test eax, eax
je 0x4f3b76
mov edx, dword [edi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0051afa0
test eax, eax
mov dword [esp + 0x84], eax
je 0x4f3b76
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x24]
push eax
call fcn.005221bc
mov edx, dword [esp + 0x24]
cmp edx, 0xffff8001
jl 0x4f313d
cmp edx, 0x7fff
jge 0x4f3144
jmp 0x4f314d
mov edx, 0xffff8001
jmp 0x4f3149
mov edx, 0x7fff
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x28]
cmp ecx, 0xffff8001
jl 0x4f3163
cmp ecx, 0x7fff
jge 0x4f316a
jmp 0x4f3173
mov ecx, 0xffff8001
jmp 0x4f316f
mov ecx, 0x7fff
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x2c]
sub eax, edx
js 0x4f3182
cmp eax, 0x7fff
jge 0x4f318e
xor ebx, ebx
test eax, eax
setl bl
dec ebx
and ebx, eax
jmp 0x4f3193
mov ebx, 0x7fff
mov eax, dword [esp + 0x30]
sub eax, ecx
js 0x4f31a2
cmp eax, 0x7fff
jge 0x4f31b4
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, eax
mov ebp, edx
mov edx, dword [esp + 0x24]
jmp 0x4f31b9
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.005221bc
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.0051a93c
mov ecx, dword [esp + 0x90]
test dword [ecx + 0x14], 0x100000
je 0x4f3225
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.005221bc
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.004ed160
mov edx, dword [esi + 0x90]
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx + 0x1c]
jne 0x4f3280
mov ecx, esi
call fcn.004f8d60
jmp 0x4f3282
xor eax, eax
mov ecx, dword [esp + 0x28]
mov edx, ecx
sub edx, eax
cmp edx, 0xffff8001
jl 0x4f32bb
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x4f32ad
mov ecx, esi
call fcn.004f8d60
mov ecx, dword [esp + 0x28]
jmp 0x4f32af
xor eax, eax
mov edx, ecx
sub edx, eax
cmp edx, 0x7fff
jge 0x4f3312
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x4f32d6
mov ecx, esi
call fcn.004f8d60
mov ecx, dword [esp + 0x28]
jmp 0x4f32d8
xor eax, eax
mov edx, ecx
sub edx, eax
cmp edx, 0xffff8001
jge 0x4f32eb
mov eax, 0xffff8001
jmp 0x4f3317
mov eax, dword [esi + 0x90]
mov edx, dword [edi + 0x1c]
cmp edx, dword [eax + 0x1c]
jne 0x4f330a
mov ecx, esi
call fcn.004f8d60
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, ecx
jmp 0x4f3317
xor eax, eax
sub ecx, eax
mov eax, ecx
jmp 0x4f3317
mov eax, 0x7fff
push 0xfffffffffffffffc
push eax
mov eax, dword [esi + 0x4c]
push ebp
push ebx
push eax
mov ecx, esi
call fcn.004ed160
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.004ed160
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.004ed160
mov edx, dword [esi + 0x90]
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx + 0x1c]
je 0x4f3385
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.005221f8
mov ecx, dword [esi + 0x90]
lea edx, [esp + 0x24]
push edx
call fcn.005221bc
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.004f5c10
mov ecx, esi
call fcn.004f5860
jmp 0x4f3b76
lea ecx, [esp + 0x38]
call fcn.00473110
mov ebx, 0x54d910
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 2
call fcn.00473110
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.004733d0
push 0xfffffffffffffffb
lea ecx, [esp + 0x50]
call fcn.004733d0
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.0048e3d0
mov eax, dword [esp + 0x5c]
shr eax, 2
test eax, eax
jle 0x4f343e
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.0048e3d0
mov edi, 0x54d7d0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 4
mov dword [esp + 0x4c], edi
call fcn.00473310
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x38]
jmp 0x4f3b71
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f3b76
push ebp
mov ecx, esi
call fcn.004f4100
jmp 0x4f3b76
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f3b76
push ebp
mov ecx, esi
call fcn.004f3d20
jmp 0x4f3b76
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f3b76
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, dword [esi + 0x5c]
add ecx, 0x244
call fcn.004d2970
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 0x4f3517
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.004ecec0
inc ebx
cmp ebx, ebp
jl 0x4f34ef
push 0
mov ecx, esi
call fcn.004f54c0
jmp 0x4f3b76
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4f3b76
lea ecx, [esp + 0x38]
call fcn.00473110
lea ecx, [esp + 0x38]
push 0
push ecx
mov ecx, esi
mov byte [esp + 0x84], 5
call fcn.004f7990
mov edx, dword [esp + 0x48]
shr edx, 2
test edx, edx
jle 0x4f35e8
add ebp, 0xfdfdffc1
xor ecx, ecx
xor eax, eax
cmp ebp, 7
ja case.default.0x4f356d
jmp dword [ebp*4 + 0x4f3cd4]
mov ecx, edi
jmp case.default.0x4f356d
mov eax, edi
jmp case.default.0x4f356d
mov ecx, dword [0x599928]
cmp ecx, 1
jge 0x4f358c
mov ecx, 1
neg ecx
jmp case.default.0x4f356d
mov ecx, dword [0x599928]
cmp ecx, 1
jge case.default.0x4f356d
mov ecx, 1
jmp case.default.0x4f356d
mov eax, dword [0x59992c]
cmp eax, 1
jge 0x4f35b1
mov eax, 1
neg eax
jmp case.default.0x4f356d
mov eax, dword [0x59992c]
cmp eax, 1
jge case.default.0x4f356d
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.004f2da0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], 0x54d7d0
lea ecx, [esp + 0x38]
jmp 0x4f3b71
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, dword [esi + 0x5c]
add ecx, 0x244
call fcn.004d2970
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.0x4f3631
jmp dword [ebp*4 + 0x4f3cf4]
mov dword [esp + 0x8c], edi
jmp case.default.0x4f3631
mov dword [esp + 0x90], edi
jmp case.default.0x4f3631
mov dword [esp + 0x90], 1
jmp case.default.0x4f3631
mov eax, dword [0x599928]
cmp eax, 1
jge 0x4f3666
mov eax, 1
neg eax
mov dword [esp + 0x8c], eax
jmp case.default.0x4f3631
mov eax, dword [0x599928]
cmp eax, 1
jge 0x4f3668
mov dword [esp + 0x8c], 1
jmp case.default.0x4f3631
mov eax, dword [0x59992c]
cmp eax, 1
jge 0x4f3697
mov eax, 1
neg eax
jmp 0x4f36b0
mov eax, dword [0x59992c]
mov dword [esp + 0x90], 1
cmp eax, 1
jl case.default.0x4f3631
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x24]
call fcn.00473110
mov eax, dword [esi + 0x78]
mov byte [esp + 0x7c], 6
cmp eax, 1
push 0
jne 0x4f36e6
mov ecx, dword [esi + 0x4c]
add ecx, 0x14
call fcn.004d22a0
push eax
lea ecx, [esp + 0x28]
call fcn.004733d0
jmp 0x4f36f2
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call fcn.004f7990
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 0x4f37ee
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.004d2340
test eax, eax
je 0x4f37c8
lea edi, [eax + 0x18]
push edi
call fcn.00474090
add edi, eax
push edi
call fcn.00474090
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.004ed160
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.004ed160
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 0x4f371b
mov ecx, esi
call fcn.004f4db0
push 0
push 0
mov ecx, esi
call fcn.004f5c10
cmp dword [esi + 0x78], 1
jne 0x4f3814
mov ecx, dword [esi + 0x1c]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.004f5860
mov byte [esp + 0x7c], 0
mov dword [esp + 0x24], 0x54d7d0
lea ecx, [esp + 0x24]
jmp 0x4f3b71
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 0x4f3855
test eax, eax
je 0x4f3b76
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 0x10]
mov edi, eax
shr edi, 2
test eax, eax
jne 0x4f386c
xor ebp, ebp
jmp 0x4f386f
mov ebp, dword [ecx + 8]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x244
call fcn.004d2970
test edi, edi
mov dword [esp + 0x90], eax
jle 0x4f39fe
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.004d2340
test eax, eax
je 0x4f39de
lea edi, [eax + 0x18]
push edi
call fcn.00474090
add edi, eax
push edi
call fcn.00474090
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.0051afa0
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.005221bc
mov eax, dword [edi + 0x18]
mov dword [esp + 0x84], 0
test eax, eax
jne 0x4f392b
mov ecx, esi
call fcn.004f8d60
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 0x4f3949
cmp ebx, 0x7fff
jge 0x4f3950
cmp ebx, 0xffff8001
jge 0x4f3955
mov ebx, 0xffff8001
jmp 0x4f3955
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.004ed160
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea edi, [eax + ecx]
cmp edi, 0xffff8001
jl 0x4f3996
cmp edi, 0x7fff
jge 0x4f399d
cmp edi, 0xffff8001
jge 0x4f39a2
mov edi, 0xffff8001
jmp 0x4f39a2
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.004ed160
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.0051a93c
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 0x4f389b
push 0
push 0
mov ecx, esi
call fcn.004f5c10
mov ecx, esi
call fcn.004f5860
jmp 0x4f3b76
mov eax, dword [esp + 0x8c]
mov ecx, esi
push eax
call fcn.004eb260
jmp 0x4f3b76
push ebp
mov ecx, esi
call fcn.004f4830
jmp 0x4f3b76
push ebp
mov ecx, esi
call fcn.004ebff0
jmp 0x4f3b76
mov ecx, esi
call fcn.004f8120
mov ecx, esi
call fcn.004f4610
jmp 0x4f3b76
mov ecx, esi
call fcn.004f8480
jmp 0x4f3b76
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ecx
push edx
mov ecx, esi
call fcn.004ec470
jmp 0x4f3b76
mov ecx, 0x599b08
call fcn.00455390
test eax, eax
jne 0x4f3ac2
push 0x59634c
mov ecx, 0x59a350
call fcn.00519753
mov eax, dword [0x59a2f4]
mov dword [0x59a354], 0x40
push 0
push 0x73
mov ecx, dword [eax + 0x1c]
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4f3b76
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
push edx
add ecx, 0x244
call fcn.004d2970
lea ecx, [esp + 0x38]
mov ebx, eax
call fcn.00473110
lea eax, [esp + 0x38]
mov ecx, 0x599a48
push eax
push ebx
mov byte [esp + 0x84], 7
call fcn.00434e40
cmp eax, 1
jne 0x4f3b60
mov ecx, esi
call fcn.004f8dc0
mov ecx, esi
call fcn.004f4db0
cmp dword [0x5998c4], 1
jne 0x4f3b4e
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4f3b4e
mov edi, dword [esp + 0x40]
test edi, edi
je 0x4f3b4e
cmp byte [edi], 0
je 0x4f3b4e
push edi
mov ebx, edi
call fcn.00474090
add edi, eax
push edi
mov ebp, edi
call fcn.00474090
mov ecx, dword [esi + 0x4c]
add esp, 8
add edi, eax
push ebp
push ebx
call fcn.004ce9c0
cmp byte [edi], 0
jne 0x4f3b28
push 0
push 0
push 0
push 0
mov ecx, 0x599a48
call fcn.00408260
mov byte [esp + 0x7c], 0
mov dword [esp + 0x38], 0x54d7d0
lea ecx, [esp + 0x38]
call fcn.00473310
cmp dword [esp + 0x14], 1
jne 0x4f3bac
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f3b8e
mov edx, dword [ecx]
lea eax, [esp + 0x60]
push eax
jmp 0x4f3b97
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, 0x59a4e0
call fcn.004e7bf0
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x60], 0x54d7d0
call fcn.00473310
mov eax, 1
jmp 0x4f3bf6
cmp eax, 1
jne 0x4f3bdb
mov ecx, 0x59a4e0
call fcn.004e7bc0
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x60], 0x54d7d0
call fcn.00473310
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