Function at 0x4a3b20
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55c318
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x24]
call fcn.004139f0
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00410aa0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a3b8b
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00410aa0
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x4a3b96
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [esi + 0x100]
cmp eax, 5
jne 0x4a3c53
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x358]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
cmp eax, 0xffffffff
jne 0x4a3bd6
mov eax, dword [ebx + 0x354]
push eax
lea ecx, [esp + 0x58]
call fcn.004139f0
mov esi, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.004fbc94
mov eax, dword [ebx + 0x370]
cmp eax, 0xffffffff
jne 0x4a3bfc
mov eax, dword [ebx + 0x36c]
mov ecx, dword [ebx + 0x370]
cmp ecx, 0xffffffff
jne 0x4a3c0d
mov ecx, dword [ebx + 0x36c]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.004139f0
push eax
mov ecx, esi
call fcn.004fc02c
mov eax, dword [ebx + 0x358]
cmp eax, 0xffffffff
jne 0x4a3c31
mov eax, dword [ebx + 0x354]
mov edi, dword [ebp + 0xc]
push eax
push esi
call fcn.004a0a00
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0xf8]
test ecx, ecx
jne 0x4a3c62
mov ecx, dword [ebx + 0x7c]
jmp 0x4a3c65
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x4a3e7b
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call edi
cdq
sub eax, edx
mov esi, eax
lea ecx, [esp + 0x24]
sar esi, 1
call fcn.00415ef0
cmp eax, esi
jle 0x4a3c96
lea ecx, [esp + 0x24]
call fcn.00415ef0
jmp 0x4a3c9f
push 0x10
call edi
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push ecx
push eax
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.00410170
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x100]
cmp eax, 2
je 0x4a3cd8
test eax, eax
je 0x4a3cd8
cmp eax, 3
je 0x4a3cd8
cmp eax, 1
jne 0x4a3d75
call fcn.004182f0
mov esi, eax
test esi, esi
je 0x4a3d75
lea ecx, [esp + 0x54]
call fcn.004139f0
lea ecx, [esp + 0x54]
call fcn.004139f0
push eax
mov ecx, esi
call fcn.0040fd20
lea ecx, [esp + 0x54]
call fcn.004139f0
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004f4de8
push 0x10
call edi
cdq
sub eax, edx
mov esi, eax
lea ecx, [esp + 0x54]
sar esi, 1
call fcn.00415ef0
cmp eax, esi
jle 0x4a3d36
lea ecx, [esp + 0x54]
call fcn.00415ef0
jmp 0x4a3d3f
push 0x10
call edi
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
push edx
add eax, ecx
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.00410170
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], edx
test byte [0x5c0bcc], 1
jne 0x4a3d97
or dword [0x5c0bcc], 1
call fcn.0043fd20
push 0x55d9a0
call fcn.0050cb8a
add esp, 4
lea ecx, [esp + 0x24]
call fcn.004139f0
push eax
push 1
lea ecx, [esp + 0x3c]
lea esi, [ebx + 0x45c]
call fcn.004139f0
mov edi, dword [ebp + 8]
push eax
push edi
push 0x5c0ba4
mov eax, esi
call fcn.004402d0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x100], 4
jne 0x4a46aa
mov esi, dword [ebx + 0x448]
cmp esi, 0xffffffff
jne 0x4a3de4
mov esi, dword [ebx + 0x444]
push esi
push esi
lea ecx, [esp + 0x2c]
call fcn.004139f0
push eax
mov ecx, edi
call fcn.004fc02c
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
push esi
push esi
lea ecx, [esp + 0x2c]
call fcn.004139f0
push eax
mov ecx, edi
call fcn.004fc02c
mov edx, dword [edi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SetPixel]
push esi
push 2
push 2
push edx
call ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 4]
push esi
push 2
add eax, 0xfffffffe
push eax
push ecx
call ebx
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 4]
push esi
add edx, 0xfffffffe
push edx
push 2
push eax
call ebx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [edi + 4]
push esi
add ecx, 0xfffffffe
push ecx
add edx, 0xfffffffe
push edx
push eax
call ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x4a43b2
cmp eax, 1
je 0x4a43b2
cmp eax, 2
je 0x4a4126
cmp eax, 3
je 0x4a4126
cmp eax, 4
jne 0x4a4102
mov edx, dword [ebx]
mov eax, dword [edx + 0x11c]
push esi
mov ecx, ebx
call eax
test eax, eax
je 0x4a4102
mov eax, dword [ebx + 0x2d4]
cmp eax, 0xffffffff
jne 0x4a3ecd
mov eax, dword [ebx + 0x2d0]
push eax
lea ecx, [esp + 0x28]
call fcn.004139f0
mov edi, dword [ebp + 8]
push eax
mov ecx, edi
call fcn.004fbc94
mov ecx, ebx
mov ebx, dword [ecx + 0x448]
cmp ebx, 0xffffffff
jne 0x4a3ef7
mov edx, ecx
mov ebx, dword [edx + 0x444]
push ebx
push ebx
lea ecx, [esp + 0x2c]
call fcn.004139f0
push eax
mov ecx, edi
call fcn.004fc02c
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push ebx
push ebx
lea ecx, [esp + 0x2c]
call fcn.004139f0
push eax
mov ecx, edi
call fcn.004fc02c
mov eax, dword [esp + 0x14]
add eax, 0x98
mov ecx, edi
lea esi, [esp + 0x54]
call fcn.0043f4e0
push 1
push 0x576b58
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov dword [esp + 0xac], 0
call fcn.00416010
mov eax, dword [esp + 0x20]
cmp eax, 0xf
jge 0x4a3f6c
mov eax, 0xf
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add edx, 0xfffffffe
push edx
mov edx, dword [esp + 0x2c]
add ecx, 0xfffffffe
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [eax + edx + 2]
add ecx, 2
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00410170
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xfc]
cmp dword [eax + 0x2c], 0
mov dword [esp + 0x18], 0
jle 0x4a4066
cmp dword [esp + 0x18], 0
jl 0x4a3fc8
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
call fcn.0044c850
mov esi, eax
jmp 0x4a3fca
xor esi, esi
cmp dword [esi + 0x94], 0
je 0x4a404b
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
push 0
mov ecx, esi
call eax
test eax, eax
je 0x4a404b
lea eax, [esp + 0x34]
mov ecx, esi
call fcn.00432a20
mov ecx, dword [esp + 0x48]
cmp dword [eax + 4], ecx
jle 0x4a404b
lea eax, [esp + 0x74]
mov ecx, esi
call fcn.0044eeb0
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
lea ecx, [esp + 0x74]
call fcn.00410170
mov eax, dword [esp + 0x14]
push 0
push 0
lea ecx, [esp + 0x6c]
lea esi, [eax + 0x47c]
call fcn.004139f0
push eax
push edi
call fcn.0043fdc0
push eax
mov eax, esi
call fcn.004402d0
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0xfc]
inc eax
cmp eax, dword [ecx + 0x2c]
mov dword [esp + 0x18], eax
jl 0x4a3fb1
mov edx, dword [esp + 0x14]
push 0
push 0
lea ecx, [esp + 0x4c]
lea esi, [edx + 0x47c]
call fcn.004139f0
push eax
push edi
call fcn.0043fdc0
push eax
mov eax, esi
call fcn.004402d0
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.GDI32.dll_SetPixel]
push ebx
push 2
push 2
push eax
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 4]
push ebx
push 2
add eax, 0xfffffffe
push eax
push ecx
call esi
mov eax, dword [esp + 0x30]
mov edx, dword [edi + 4]
push ebx
add eax, 0xfffffffe
push eax
push 2
push edx
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push ebx
add eax, 0xfffffffe
push eax
mov eax, dword [edi + 4]
add ecx, 0xfffffffe
push ecx
push eax
call esi
lea ecx, [esp + 0x54]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0043f580
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push esi
push ecx
mov ecx, ebx
call fcn.004a0b30
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 0x220]
cmp eax, 0xffffffff
jne 0x4a4137
mov eax, dword [ebx + 0x21c]
push eax
lea ecx, [esp + 0x28]
call fcn.004139f0
mov esi, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.004fbc94
mov ecx, dword [ebp + 0xc]
call fcn.004182f0
mov edi, eax
test edi, edi
je 0x4a4272
mov ecx, edi
call fcn.004e328f
test eax, 0x4100
je 0x4a4194
mov eax, dword [ebx + 0x474]
cmp eax, 0xffffffff
jne 0x4a417d
mov eax, dword [ebx + 0x470]
push eax
lea ecx, [esp + 0x28]
call fcn.004139f0
push eax
mov ecx, esi
call fcn.004fbc94
jmp 0x4a4216
lea esi, [esp + 0x34]
call fcn.0043efc0
mov ecx, esi
call fcn.004139f0
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004f4de8
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call edi
cdq
sub eax, edx
mov esi, eax
lea ecx, [esp + 0x34]
sar esi, 1
call fcn.00415ef0
cmp eax, esi
jle 0x4a41d6
lea ecx, [esp + 0x34]
call fcn.00415ef0
jmp 0x4a41df
push 0x10
call edi
cdq
sub eax, edx
sar eax, 1
mov edx, dword [esp + 0x34]
add eax, edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], eax
call fcn.004139f0
push eax
push 1
lea ecx, [esp + 0x3c]
lea edi, [ebx + 0x45c]
call fcn.004139f0
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.0043fdc0
push eax
mov eax, edi
call fcn.004402d0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + 3]
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.004f4997
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
dec edx
push edx
add eax, 3
inc ecx
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00410170
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.004a39e0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], eax
call fcn.00410070
mov edi, eax
cmp dword [edi + 0x2c], 0
je 0x4a4350
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [edi + 0x2c]
cmp esi, eax
jge 0x4a4350
test esi, esi
jge 0x4a42da
cmp dword [esp + 0x18], 0
jne 0x4a4350
lea esi, [eax - 1]
mov dword [esp + 0x18], 1
test esi, esi
jl 0x4a42ee
cmp esi, eax
jge 0x4a42ee
test esi, esi
jl 0x4a4321
cmp esi, eax
jge 0x4a4321
mov edx, dword [edi + 0x28]
mov ecx, dword [edx + esi*4]
jmp 0x4a42f0
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
push 8
call edx
test eax, eax
je 0x4a4319
test esi, esi
jl 0x4a430e
cmp esi, dword [edi + 0x2c]
jge 0x4a430e
mov eax, dword [edi + 0x28]
mov eax, dword [eax + esi*4]
jmp 0x4a4310
xor eax, eax
cmp dword [eax + 0xac], 0
je 0x4a4326
inc esi
cmp esi, 0xffffffff
jne 0x4a42b1
jmp 0x4a4350
call fcn.004dcd9a
cmp esi, 0xffffffff
je 0x4a4350
mov ecx, dword [ebp + 0xc]
call fcn.00410070
mov ecx, eax
mov eax, esi
call fcn.00432800
mov ecx, eax
lea eax, [esp + 0x64]
call fcn.0044eeb0
mov ecx, dword [esp + 0x6c]
inc ecx
mov dword [esp + 0x5c], ecx
push 0
push 1
lea ecx, [esp + 0x5c]
lea edi, [ebx + 0x47c]
call fcn.004139f0
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.0043fdc0
push eax
mov eax, edi
call fcn.004402d0
mov eax, dword [ebx + 0x524]
cmp eax, 0xffffffff
jne 0x4a4386
mov eax, dword [ebx + 0x520]
push eax
lea ecx, [esp + 0x28]
call fcn.0040fe70
mov edx, dword [esp + 0x2c]
sub eax, 7
push eax
mov eax, dword [esp + 0x34]
push 1
add edx, 5
push edx
dec eax
push eax
mov ecx, esi
call fcn.004fbebc
mov ecx, esi
jmp 0x4a46a3
mov eax, dword [ebx + 0x220]
cmp eax, 0xffffffff
jne 0x4a43c3
mov eax, dword [ebx + 0x21c]
push eax
lea ecx, [esp + 0x28]
call fcn.004139f0
mov ebx, dword [ebp + 8]
push eax
mov ecx, ebx
call fcn.004fbc94
mov ecx, esi
call fcn.004182f0
test eax, eax
je 0x4a44cd
mov edi, eax
lea esi, [esp + 0x54]
call fcn.0043efc0
mov ecx, esi
call fcn.004139f0
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004f4de8
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call edi
cdq
sub eax, edx
mov esi, eax
lea ecx, [esp + 0x54]
sar esi, 1
call fcn.00415ef0
cmp eax, esi
jle 0x4a442b
lea ecx, [esp + 0x54]
call fcn.00415ef0
jmp 0x4a4434
push 0x10
call edi
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x54]
add eax, ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], eax
call fcn.004139f0
mov edx, dword [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x5c]
lea esi, [edx + 0x45c]
call fcn.004139f0
push eax
push ebx
call fcn.0043fdc0
push eax
mov eax, esi
call fcn.004402d0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [eax + 3]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.004f4997
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
dec eax
push eax
mov eax, dword [esp + 0x28]
push ecx
inc edx
push edx
add eax, 3
push eax
lea ecx, [esp + 0x94]
call fcn.00410170
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov esi, ebx
mov dword [ecx + 0xc], eax
call fcn.004a39e0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
call fcn.00410070
mov edi, eax
cmp dword [edi + 0x2c], 0
je 0x4a45d1
xor esi, esi
mov dword [esp + 0x18], esi
lea esp, [esp]
mov eax, dword [edi + 0x2c]
cmp esi, eax
jge 0x4a45d1
test esi, esi
jge 0x4a4539
cmp dword [esp + 0x18], 0
jne 0x4a45d1
lea esi, [eax - 1]
mov dword [esp + 0x18], 1
test esi, esi
jl 0x4a4555
cmp esi, eax
jge 0x4a4555
test esi, esi
jl 0x4a4321
cmp esi, eax
jge 0x4a4321
mov edx, dword [edi + 0x28]
mov ecx, dword [edx + esi*4]
jmp 0x4a4557
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
push 8
call edx
test eax, eax
je 0x4a4580
test esi, esi
jl 0x4a4575
cmp esi, dword [edi + 0x2c]
jge 0x4a4575
mov eax, dword [edi + 0x28]
mov eax, dword [eax + esi*4]
jmp 0x4a4577
xor eax, eax
cmp dword [eax + 0xac], 0
je 0x4a4588
inc esi
cmp esi, 0xffffffff
jne 0x4a4510
jmp 0x4a45d1
cmp esi, 0xffffffff
je 0x4a45d1
mov ecx, dword [ebp + 0xc]
call fcn.00410070
test esi, esi
jl 0x4a45a6
cmp esi, dword [eax + 0x2c]
jge 0x4a45a6
mov ecx, dword [eax + 0x28]
mov esi, dword [ecx + esi*4]
jmp 0x4a45a8
xor esi, esi
mov edx, dword [esi + 0xb0]
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb8]
mov esi, dword [esi + 0xbc]
inc esi
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], esi
test byte [0x5c0bcc], 1
jne 0x4a45f3
or dword [0x5c0bcc], 1
call fcn.0043fd20
push 0x55d9a0
call fcn.0050cb8a
add esp, 4
mov esi, dword [esp + 0x14]
push 0
push 0
lea ecx, [esp + 0x3c]
lea edi, [esi + 0x47c]
call fcn.004139f0
push eax
push ebx
push 0x5c0ba4
mov eax, edi
call fcn.004402d0
mov eax, dword [esi + 0x494]
cmp eax, 0xffffffff
jne 0x4a462b
mov edi, dword [esi + 0x490]
jmp 0x4a462d
mov edi, eax
lea ecx, [esp + 0x34]
call fcn.0040fe70
mov esi, 0xfffffffe
push edi
lea ecx, [esp + 0x28]
sub esi, eax
call fcn.0040fe70
add eax, esi
push eax
lea ecx, [esp + 0x3c]
call fcn.00415ef0
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x40]
push edx
push eax
mov ecx, ebx
call fcn.004fbebc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x524]
cmp eax, 0xffffffff
jne 0x4a467c
mov edx, ecx
mov eax, dword [edx + 0x520]
push eax
push 1
lea ecx, [esp + 0x2c]
call fcn.00415ef0
mov ecx, dword [esp + 0x2c]
sub eax, 7
push eax
mov eax, dword [esp + 0x3c]
dec eax
add ecx, 5
push eax
push ecx
mov ecx, ebx
call fcn.004fbebc
mov ecx, ebx
push 0
call fcn.004f4d64
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8